19.02.2014, 08:50
So I made a function to check ammo, but I don't know where to put it. I tried under OnPlayerUpdate but it doesn't work. What shall I do? Shall I make a timer? If yes, how?
Thanks.
Thanks.
public OnGameModeInIt()
{
SetTimer("funcname", 2000, 1);
return 1;
}
forward funcname();
public funcname()
{
// stuff here
return 1;
}