12.08.2013, 05:12
Hi guys, I'm trying to add Code 2 Police Lights into my gamemode. However, I'm always stucked at OnGameModeExit part, and I'm confused. How can I add this
Into my OnGameModeExit?
Thanks
Quote:
Код:
KillTimer(FlashTimer); for (new i = 0; i < MAX_VEHICLES; i++) { DestroyObject(obj[i]); DestroyObject(obj2[i]); } return 1; |
Quote:
Код:
public OnGameModeExit() { for(new i; i< MAX_PLAYERS; i++) { if(!IsPlayerConnected(i)) continue; TextDrawHideForPlayer(i, Zones[i]); } for(new p; p<2; p++) KillTimer(TimerKill[p]); return 1; } |