10.04.2013, 23:44
hey ya!
Ok i have a question, a performance question.
Its better use
(all codes here its just examples)
Or
?
Ok i have a question, a performance question.
Its better use
(all codes here its just examples)
pawn Код:
public OnPlayerConnect(playerid)
{
playertimer[playerid] = SetTimerEx("GiveCookie",500,true,"i",playerid);
return 1;
}
public GiveCookie(playerid)
{
CookieStatus[playerid][cookieamount]++;
}
pawn Код:
public OnGameModeInit()
{
SetTimerEx("GiveCookie",500,true);
return 1;
}
public GiveCookie()
{
foreach(new i : Player) {
CookieStatus[i][cookieamount]++;
}
}
?