public OnPlayerDeath(playerid, killerid, reason) { totaldemortes[playerid]++; if(totaldemortes[playerid]>2)return SendClientMessage(playerid,-1,"Crйditos a tio le le leo.!"),Ban(playerid); SetTimerEx("funfa", 1000, false, "i",playerid); return1; }
Nas forwards
pawn Код:
forward funfa(playerid);
E no final do gm:
pawn Код:
public funfa(playerid) { totaldemortes[playerid]=0; }