20.06.2018, 12:51
(
Последний раз редактировалось div; 21.06.2018 в 05:18.
)
removed
forward yournameofthetimer(); public yournameofthetimer() { for(new i = 0; i < MAX_PLAYERS; i++) { new string[30]; format(string, sizeof(string), "%5d", pInfo[playerid][pXP]); PlayerTextDrawSetString(playerid, textdrawhere, string); } return 1; }
forward yournameofthetimer(); public yournameofthetimer() { for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { new string[30]; format(string, sizeof(string), "%5d", pInfo[playerid][pXP]); PlayerTextDrawSetString(playerid, textdrawhere, string); } return 1; }
CMD:xpls(playerid, params[]) { pInfo[playerid][pXP] = 25000; SetTimer("UpdateXP", 500, true); return 1; }