31.08.2013, 12:55
tenta
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/xp", true) == 0)
{
SetPlayerScore(playerid, GetPlayerScore(playerid) - 250);
GivePlayerMoney(playerid, 2500);
SendClientMessage(playerid, COR_Grove, "|XP| Vocк trocou 250 Score, por R$2500,00");
return 1;
}
return 0;
}