16.04.2012, 16:13
ok ill do it this way
so what else do I need at the top towards CMD:blabla for it to work?
pawn Код:
CMD:setmoney(playerid,params[])
{
new
target,
money;
if(sscanf(params,"ui",target,money))
{
return SendClientMessage(playerid,COLOR_LIGHTGRAY,"USAGE: /setmoney [playerid] [amount]");
}
else
{
ResetPlayerMoney(target);
GivePlayerMoney(target,money);
}
return 1;
}