Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GetHouseInID(playerid)
- {
- for(new i=0;i<MAX_HOUSES;i++)
- {
- if(GetPlayerVirtualWorld(playerid) == HouseCache[HouseCache[i][hUID]][hInVW])
- {
- return i;
- }
- }
- return 1;
- }
- GetHouseOutID(playerid)
- {
- for(new i=0;i<MAX_HOUSES;i++)
- {
- if(IsPlayerInRangeOfPoint(playerid,2,HouseCache[i][hOutX],HouseCache[i][hOutY],HouseCache[i][hOutZ]))
- {
- return i;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement