SetTimer and SetTimerEx
#10

Quote:
Originally Posted by Stinged
View Post
There's a huge possibility that I'm wrong but I think killing timers under OnGameModeExit is useless because everything gets killed by that point.
Destory everything When the GameMode ends is a good thing,i was told that it helps to clear the code..

Alot of person still dont even destory pickups when the gamemodeends..
PHP Code:
new PC;
public 
OnGameModeInit()
{
PC CreatePickup(1210,1,0.0,0.0,0.0,0);
return 
1;
}
public 
OnGameModeExit()
{
DestroyPickup(PC); 
return 
1;
}
public 
OnPlayerDisconnect(playeridreason)
{
 
DestroyPickup(PC);//x?.?
return 1;

Reply


Messages In This Thread
SetTimer and SetTimerEx - by Penguin1997 - 14.08.2016, 20:39
Re: SetTimer and SetTimerEx - by Vince - 14.08.2016, 20:56
Re: SetTimer and SetTimerEx - by Penguin1997 - 15.08.2016, 10:50
Re: SetTimer and SetTimerEx - by Stinged - 15.08.2016, 11:46
Re: SetTimer and SetTimerEx - by Logic_ - 15.08.2016, 15:40
Re: SetTimer and SetTimerEx - by Penguin1997 - 15.08.2016, 16:18
Re: SetTimer and SetTimerEx - by Stinged - 15.08.2016, 17:26
Re: SetTimer and SetTimerEx - by Kar - 18.08.2016, 00:30
Re: SetTimer and SetTimerEx - by Mister0 - 19.08.2016, 11:28
Re: SetTimer and SetTimerEx - by WhiteGhost - 19.08.2016, 12:06

Forum Jump:


Users browsing this thread: 2 Guest(s)