25.07.2012, 09:25
i have this script
and this fs have a timers ? and how i make a textdraw?
Код:
new Exp[MAX_PLAYERS]; //experience new Lv[MAX_PLAYERS]; //level forward LevelUp(playerid);
Код:
SetTimer("LevelUp", 1000, false);
Код:
public LevelUp(playerid) { if(LevelNext(playerid) >= Exp[playerid]) { Exp[playerid] = 0; Lv[playerid] ++; SetPlayerScore(playerid, GetPlayerScore(playerid) + 1); } }
Код:
stock LevelNext(playerid){ return (Lv[playerid] * 5); }