xmas: ...

This commit is contained in:
neon 2018-10-03 12:28:58 +02:00
parent 7db16d3fc2
commit f9b42c6002

View File

@ -82,9 +82,6 @@ public void OnPluginStart()
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public void OnMapStart() public void OnMapStart()
{ {
// Yeeaass (Physbox model)
PrecacheModel("models/props/cs_militia/crate_extrasmallmill.mdl");
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.phy"); AddFileToDownloadsTable("models/player/stenli/smite/fenrir.phy");
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.sw.vtx"); AddFileToDownloadsTable("models/player/stenli/smite/fenrir.sw.vtx");
AddFileToDownloadsTable("models/player/stenli/smite/fenrir.vvd"); AddFileToDownloadsTable("models/player/stenli/smite/fenrir.vvd");
@ -322,9 +319,10 @@ public void TQueryCBConnect(Handle owner, Handle rs, const char[] error, any dat
SQL_FetchRow(rs); SQL_FetchRow(rs);
SQL_FieldNameToNum(rs, "collected", iField); SQL_FieldNameToNum(rs, "collected", iField);
g_iCollected[client] = SQL_FetchInt(rs, iField); g_iCollected[client] = SQL_FetchInt(rs, iField);
delete rs;
} }
delete rs;
g_bResponsePassed[client] = true; g_bResponsePassed[client] = true;
if (g_bPreAdminChecked[client]) if (g_bPreAdminChecked[client])
NotifyPostAdminCheck(client); NotifyPostAdminCheck(client);