Dumb problem I think :P please help
#6

pawn Код:
CMD:setcash(playerid,params[])
{
    new ID,Ammount;
    if(sscanf(params,"dd",ID,Ammount)) return SendClientMessage(playerid,COLOR_RED,"USAGE: /SetCash ( playerid ) ( Ammount )");
    if(!IsPlayerConnected(ID)) return SendClientMessage(playerid,COLOR_RED,"That User Is Offline");
    GivePlayerMoney(ID,Ammount);
    return SendClientMessage(playerid,COLOR_GREEN,"Money Successfully Transferred.");
}
modify to format player names if you want that
Reply


Messages In This Thread
Dumb problem I think :P please help - by bartje01 - 21.07.2010, 20:00
Re: Dumb problem I think :P please help - by willsuckformoney - 21.07.2010, 20:04
Re: Dumb problem I think :P please help - by bartje01 - 21.07.2010, 20:09
Re: Dumb problem I think :P please help - by MadeMan - 21.07.2010, 20:31
Re: Dumb problem I think :P please help - by bartje01 - 21.07.2010, 20:50
Re: Dumb problem I think :P please help - by [L3th4l] - 21.07.2010, 20:57
Re: Dumb problem I think :P please help - by bartje01 - 21.07.2010, 21:00
Re: Dumb problem I think :P please help - by [L3th4l] - 21.07.2010, 21:00
Re: Dumb problem I think :P please help - by bartje01 - 21.07.2010, 21:23
Re: Dumb problem I think :P please help - by [L3th4l] - 21.07.2010, 21:35

Forum Jump:


Users browsing this thread: 1 Guest(s)