Enter restriction
#6

PHP код:
else if(IsPlayerInRangeOfPoint(playerid2.0HouseInfo[hid][XEnt],HouseInfo[hid][YEnt],HouseInfo[hid][ZEnt])) //enter house! 
        

            if((
pinfo[playerid][ID] != HouseInfo[hid][HOwnerID] && HouseInfo[hid][HOwned] == 1) return SendClientMessage(playerid, -1""COL_RED"SERVER"COL_WHITE":You cant enter the house since it's not yours!"); 
            
EnterHouse(playerid,hid); 

        } 
probably its from that: https://sampforum.blast.hk/showthread.php?tid=595672
cause you were inserting string into int I think you were bugging all house enum saves, try to print house id on the command
PHP код:
printf("%d %d",HouseInfo[hid][HOwnerID] && HouseInfo[hid][HOwned]); 
to see if it loaded perfect
Reply


Messages In This Thread
Enter restriction - by vassilis - 06.12.2015, 12:51
Re: Enter restriction - by Sanady - 06.12.2015, 12:58
Re: Enter restriction - by SilverStand - 06.12.2015, 13:04
Re: Enter restriction - by PrO.GameR - 06.12.2015, 13:05
Re: Enter restriction - by vassilis - 06.12.2015, 13:26
Re: Enter restriction - by jlalt - 06.12.2015, 13:37
Re: Enter restriction - by vassilis - 06.12.2015, 13:48
Re: Enter restriction - by vassilis - 06.12.2015, 16:35

Forum Jump:


Users browsing this thread: 4 Guest(s)