[Ajuda] BCMD
#9

pawn Код:
bCMD[money]-(playerid, help, params[])
{
    new targetid,
        amount
    ;
    if(sscanf(params,"ii",targetid,amount))
        return 0x1;
    if(targetid == INVALID_PLAYER_ID || !IsPlayerConnected(targetid))
        return SendClientMessage(playerid,0xF*6,"ID invбlido");
    GivePlayerMoney(targetid, amount);
    return 1;
}
Na pбgina da include mostra como utilizar o sscanf maninho....
https://sampforum.blast.hk/showthread.php?tid=360748
Reply


Messages In This Thread
BCMD - by [XPG]MarlonCS - 06.09.2012, 16:48
Re: BCMD - by Abravanel - 06.09.2012, 16:50
Re: BCMD - by [XPG]MarlonCS - 06.09.2012, 16:54
Re: BCMD - by Abravanel - 06.09.2012, 17:01
Re: BCMD - by paulor - 06.09.2012, 17:12
Re: BCMD - by [XPG]MarlonCS - 06.09.2012, 18:16
Re: BCMD - by paulor - 06.09.2012, 18:18
Re: BCMD - by [XPG]MarlonCS - 06.09.2012, 18:23
Re: BCMD - by Abravanel - 06.09.2012, 18:36
Re: BCMD - by paulor - 06.09.2012, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)