12.03.2011, 05:46
When you use SetTimerEx, it returns the ID of the timer created. Do the ID's of timers start at 0, or at 1?
#include <a_samp>
new timer;
public OnGameModeInit()
{
new playerid; //To prevent an error while compiling ;)
timer = SetTimerEx("NonCallback", 5000, true, "i", playerid);
printf("%d", timer);
return 1;
}
1 Script[gamemodes/KRPG.amx]: Runtime error 20: "Invalid index parameter (bad entry point)" Number of vehicle mods: 0