this cmd doesnt work..
#1

pawn Код:
CMD:givemoney(playerid, params[])
{
    new targetid, ammount;
    if(sscanf(params, "ui",targetid)) return SendClientMessage(playerid, 0xFFFFFFF, "USAGE: /givemoney [PlayerID] [Ammount]");
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, red, "Error: This CMD is only for Admins!");
    if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, red, "Error: This Player isnt Connected!");
    GivePlayerMoney(targetid,ammount);
    return 1;
}
help Dx
Reply


Messages In This Thread
this cmd doesnt work.. - by xMCx - 16.09.2012, 12:35
Re: this cmd doesnt work.. - by Seven_of_Nine - 16.09.2012, 12:37
Re: this cmd doesnt work.. - by Sig Hansen - 16.09.2012, 12:54
Re: this cmd doesnt work.. - by AtItsMax - 16.09.2012, 13:29
Re: this cmd doesnt work.. - by Glint - 16.09.2012, 13:33
Re: this cmd doesnt work.. - by AtItsMax - 16.09.2012, 13:36
Re: this cmd doesnt work.. - by Lordzy - 16.09.2012, 13:45
Re: this cmd doesnt work.. - by Glint - 16.09.2012, 14:03

Forum Jump:


Users browsing this thread: 1 Guest(s)