16.07.2011, 21:14
Hello there,
I have a question regarding parameters.
Does anyone know how to pass parameters in the same manner that SetTimerEx does without the need to use a timer?
Ex:
I have a question regarding parameters.
Does anyone know how to pass parameters in the same manner that SetTimerEx does without the need to use a timer?
Ex:
Код:
CMD:Example(playerid, params[])
if(!sscanf(params, "u", id))
{
SetTimerEx("ex", 1000, false, "dd", playerid, id);
}
forward ex(playerid, id);
public ex(playerid, id)
{
// whatever functions are needed for both, the id and playerid.
}


