19.07.2011, 19:39
if you usind dcmd and sscanf:
pawn Code:
dcmd_givemoney(playerid, params[])
{
new id, money;
if (sscanf(params, "ui", id, money)) return SendClientMessage(playerid, -1,"Usage: /givemoney id ammount");
if (id == INVALID_PLAYER_ID) // Send Error Message..
// More stuff
GivePlayerMoney(id, money);
// More stuff
return 1;
}