whats wrong with this arguments?
#2

replace to:


replace to:


pawn Код:
CMD:givecash(playerid,params[])
    {
    new IDMoney;
    new str[128];

    if(sscanf(params, "d", IDMoney)== 0)
    {
    if(IsPlayerConnected(IDMoney))
    {
    SendClientMessage(playerid, COLOR_RED,"bla bla bla bla");
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    GivePlayerMoney(i, IDMoney);
    }
    }
    else return SendClientMessage(playerid, COLOR_RED,"*** player not connected");
    }
    else return SendClientMessage(playerid, COLOR_RED,"*** command invalid!");
    return 1;
    }
Reply


Messages In This Thread
whats wrong with this arguments? - by drichie - 01.06.2013, 06:16
Re: whats wrong with this arguments? - by _chimera_ - 01.06.2013, 06:29
Re: whats wrong with this arguments? - by YesYesYes - 01.06.2013, 06:33
Re: whats wrong with this arguments? - by drichie - 01.06.2013, 06:43
Re: whats wrong with this arguments? - by _chimera_ - 01.06.2013, 06:44
Re: whats wrong with this arguments? - by Stanford - 01.06.2013, 06:57

Forum Jump:


Users browsing this thread: 1 Guest(s)