25.12.2012, 20:18
(
Последний раз редактировалось PDChaseOfficial; 25.12.2012 в 21:10.
)
Hello,
I am creating a 3d text label which would give information about houses condition but it keeps giving me warning.
code:
its really annoying when you try to keep your gamemode without warnings and these pop up all the time.
Thanks.
EDIT: big thanks to DWANE for helping me out. it gives me no warning now. Stupid of me not to check what type of variable to use first.
I am creating a 3d text label which would give information about houses condition but it keeps giving me warning.
code:
Код:
if(HouseInfo[i][hOwned]==0) housetextsell[i]=Create3DTextLabel("Nehnutelnosќ - Na predaj",COLOR_YELLOW,HouseInfo[i][hEnterx],HouseInfo[i][hEntery],HouseInfo[i][hEnterz],10,0,1); else housetextsell[i]=Create3DTextLabel("Nehnutelnosќ - Predanб",COLOR_YELLOW,HouseInfo[i][hEnterx],HouseInfo[i][hEntery],HouseInfo[i][hEnterz],10,0,1); if(HouseInfo[i][hLocked]==0) housetextlock[i]=Create3DTextLabel("Odomknutй",COLOR_RED,HouseInfo[i][hEnterx],HouseInfo[i][hEntery],HouseInfo[i][hEnterz]-0.5,10,0,1); else housetextlock[i]=Create3DTextLabel("Zamknutй",COLOR_RED,HouseInfo[i][hEnterx],HouseInfo[i][hEntery],HouseInfo[i][hEnterz]-0.5,10,0,1); Result: warning 213: tag mismatch warning 213: tag mismatch warning 213: tag mismatch warning 213: tag mismatch
Thanks.
EDIT: big thanks to DWANE for helping me out. it gives me no warning now. Stupid of me not to check what type of variable to use first.