19.07.2015, 23:46
pawn Код:
CMD:changename(playerid, params[])
{
new string[36];
if(sscanf(params, "s[36]", string)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /changename [new name]");
SetPlayerName(playerid, string);
GivePlayerMoney(playerid, -5000);
SendClientMessage(playerid, -1, "You have changed your name");
return 1;
}