19.02.2013, 22:40
Personally, I would recommend using the SetTimerEx function and then forward your timer. This is how you would do what you are wanting to do with SetTimerEx:
Under the defines
Whatever is executing your command (starting the timer):
Create a public such as:
Under the defines
pawn Код:
forward PrimaryTick(playerid);
pawn Код:
SetTimerEx("PrimaryTick", 1000, false, "i", playerid);//false is if it's repeating, if you wish for it to repeat change it to true
pawn Код:
Public PrimaryTick(playerid)
{
print("Tick is being called");
return 1;
}

