10.09.2018, 03:47
If I use this, the function may not work or generate a bug? I already compile and it did not give me errors, I just want to know if it would give me some bug, or it will not be the right thing, or it is not a recommended way.
I have something like that:
I have something like that:
PHP код:
TimerTest[MAX_PLAYERS];
public Test_One()
{
TimerTest[playerid] = SetTimer("Test_Two", 5000, false); //here I do not define the definition of the player
return 1;
}
public Test_Two(playerid) //definition of the player
{
//code
//Example: Player[playerid][Variable] = 1;
return 1;
}