07.12.2014, 17:13
you can't put a callback in the script and leave it without a calling function.. it's like nothing in the script.
use a timer, callback function that is called by the timer it's self.
use a timer, callback function that is called by the timer it's self.
pawn Код:
new vtimer;
public OnGameModeInit()
{
vtimer = SetTimer("Dealercars", 100, true); // this timer for the dealercars callback, per 100 ms, and repeatable.
return 1;
}
pawn Код:
public OnGameModeExit
{
KillTimer(vtime);
return 1;
}