/buy Command help
#6

pawn Code:
if(!IsAt247(playerid) && !IsAtElecShop(playerid) && !IsAtHardShop(playerid)) //Use && instead of ||
    {
        SendClientMessageEx(playerid, COLOR_GRAD2, "   You are not in a Store!");
        return 1;
    }
If you're using || for this code, it will check to see if you're not in one of everyone of them , meaning if you're in one but not the other, it will return true.
Reply


Messages In This Thread
/buy Command help - by [TC]XxJuggaloxX - 25.10.2012, 08:00
Re: /buy Command help - by park4bmx - 25.10.2012, 08:08
Re: /buy Command help - by [TC]XxJuggaloxX - 25.10.2012, 08:09
Re: /buy Command help - by Emmet_ - 25.10.2012, 08:34
Re: /buy Command help - by park4bmx - 25.10.2012, 09:03
Re: /buy Command help - by CentyPoo - 25.10.2012, 11:52
Re: /buy Command help - by park4bmx - 25.10.2012, 14:28
Re: /buy Command help - by [TC]XxJuggaloxX - 25.10.2012, 14:47
Re: /buy Command help - by Finn - 25.10.2012, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)