29.05.2014, 10:03
Код:
stock GivePlayerXP(playerid,xp) { new string[128]; pInfo[playerid][pXP] += xp; if(pInfo[playerid][pXP] < 0) pInfo[playerid][pXP] = 0; format(string,sizeof(string),"~n~~n~~n~~n~~n~~y~+%i",xp); GameTextForPlayer(playerid,string,3500,5); return 1; }