Code:
if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ] && vw == HouseInfo[h][hInsideWorld])) return h;
Code:
enum hInfo
{
hOwned,
hPrice,
hOwner[MAX_PLAYER_NAME],
hLocked,
hMoney,
Float:hEntranceX,
Float:hEntranceY,
Float:hEntranceZ,
Float:hEntranceA,
Float:hExitX,
Float:hExitY,
Float:hExitZ,
Float:hExitA,
hInt,
hWorld,
hInsideInt,
hInsideWorld,
hInsideIcon,
hOutsideIcon,
Text3D: hDLabel,
hWeapon1,
hWeapon2,
hWeapon3,
hWeapon4,
hWeapon5,
hWeapon6,
hWeapon7,
hWeapon8,
hWeapon9,
hWeapon10,
hAmmo1,
hAmmo2,
hAmmo3,
hAmmo4,
hAmmo5,
hAmmo6,
hAmmo7,
hAmmo8,
hAmmo9,
hAmmo10,
hOutsideWorld,
hOutsideInt,
hLSD,
hCocaine,
hMarijuana,
hMeth,
hEcstasy,
hHeroin,
hCrack,
HouseCP
}
HTML Code:
if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ] && vw == HouseInfo[h][hInsideWorld])) return h;
HTML Code:
if(IsPlayerInRangeOfPoint(playerid, 5.0, HouseInfo[h][hExitX], HouseInfo[h][hExitY], HouseInfo[h][hExitZ]) && vw == HouseInfo[h][hInsideWorld]) return h;