15.09.2011, 22:47
This is my ongamemodeinit:
The first timer NEVER runs, only the second, I can even switch their positions, the first one will never run.
I am clueless on how to fix this, can anyone help me out?
pawn Код:
public OnGameModeInit()
{
SetGameModeText("Team DM");
SetTeamCount(2);
AddPlayerClass(287, 887.95794678,-2409.54443359,23.77285576, 180, 0, 0, 0, 0, 0, 0);
AddPlayerClass(272, 887.95794678,-2409.54443359,23.77285576, 180, 0, 0, 0, 0, 0, 0);
Map = 0;
SendRconCommand("mapname Round End");
LoadLostMap();
SetNameTagDrawDistance(8.0);
CreateVehicle(520, 0.0, 0.0, 0.0, 0.0, 0, 0, 1);
SetTimer("MatchCron",1000,1);
SetTimer("servercron",5090,1);
mysql_init();
mysql_connect(MYSQLHOST, MYSQLUSER, MYSQLKEY, MYSQLDB);
CheckMySQLConnection();
return 1;
}
I am clueless on how to fix this, can anyone help me out?