CMD:Bizwithdraw aint working .
#3

Where did you create cashdeposit?
Код:
YCMD:bizwithdraw(playerid, params[], help)
{
    new cashdeposit;
    if(help) return SCM(playerid, COLOR_GREY, "Not supported");

    if(IsPlayerConnected(playerid))
    {
        new string[256], cashdeposit, bouse = PlayerInfo[playerid][pPbiskey];
        if (bouse == 9999)
        {
            SCM(playerid, COLOR_GRAD2, "   You don't own a business");
            return 1;
        }
        if(sscanf(params, "d", cashdeposit))
        {
            format(string, sizeof(string), "  You Have $%d in your till.", BizzInfo[bouse][bTill]);
            SCM(playerid, COLOR_GRAD3, string);
            SCM(playerid, COLOR_GRAD2, "USAGE: /bizwithdraw [amount]");
            return 1;
        } 
....
Reply


Messages In This Thread
CMD:Bizwithdraw aint working . - by MCZOFT - 07.11.2014, 19:49
Re: CMD:Bizwithdraw aint working . - by Capua - 07.11.2014, 20:14
Re: CMD:Bizwithdraw aint working . - by dominik523 - 07.11.2014, 20:15
Re : CMD:Bizwithdraw aint working . - by MCZOFT - 07.11.2014, 20:21

Forum Jump:


Users browsing this thread: 1 Guest(s)