17.05.2012, 14:49
Код:
new string[128], giveplayerid, pscore, amount; new pscore = GetPlayerScore(playerid); if(sscanf(params, "udd", giveplayerid, pscore, amount)) SetPlayerScore(giveplayerid, pscore) = amount; format(string, sizeof(string), " %s's Level has been set to %d.", GetPlayerNameEx(giveplayerid), amount); SetPlayerScore(giveplayerid, pscore);