Quote:
Originally Posted by CentyPoo
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.
|
This is wrong !
what your simply saying is that the player has to be at
ALL these 3 places at the same time, how will that happen ?
Because the script will check if the player is close to all these
3 location at the same time, but that cant happen because the player cant be at these 3 positions at the same time !