CMD help
#5

You need to check each variable individually.
pawn Код:
if(!HouseInfo[h][hEntranceX] && !HouseInfo[h][hEntranceY] && !HouseInfo[h][hEntranceZ])
and use return to stop the code there.

EDIT:
Quote:
Originally Posted by zDivine
Посмотреть сообщение
Код:
if(HouseInfo[h][hEntranceX] && HouseInfo[h][hEntranceY] && HouseInfo[h][hEntranceZ] == 0.000000) 
{ 
     SendErrorMessage(playerid, "There's no exterior set for this house, please contact a Lead Admin."); 
}
Neither that, editing the post won't help.
Reply


Messages In This Thread
CMD help - by N0FeaR - 25.05.2016, 15:56
Re: CMD help - by Darkwood17 - 25.05.2016, 16:01
Re: CMD help - by N0FeaR - 25.05.2016, 16:05
Re: CMD help - by zDivine - 25.05.2016, 16:13
Re: CMD help - by Konstantinos - 25.05.2016, 16:14
Re: CMD help - by N0FeaR - 25.05.2016, 16:22
Re: CMD help - by zDivine - 25.05.2016, 16:28

Forum Jump:


Users browsing this thread: 1 Guest(s)