21.03.2014, 08:01
Hello, I have a question. Is SetTimer and SetTimerEx is the same?
NO, SetTimer is for All
But SetTimerEx is only for a individual player |
noArgs()
{
printf("No arguments.");
}
oneArg( number )
{
printf(" Number: %d", number);
}
public OnGameModeInit()
{
SetTimer("noArgs", 1000, false);
SetTimerEx("oneArg", 1000, false, "i", 5);
// i specifier tells that we are passing an integer.
return 1;
}
No arguments.
Number: 5