Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock GarazaID(playerid)
- {
- new id = 9999;
- for(new i = 0; i < 9999; i++) {
- if(HouseInfo[i][hImagarazu] != 0 && HouseInfo[i][hEntrancex] != 0) {
- if(IsPlayerInRangeOfPoint(playerid, 7.0, HouseInfo[i][hGarazaX], HouseInfo[i][hGarazaY], HouseInfo[i][hGarazaZ])) {
- id = i;
- break;
- }
- }
- }
- return id;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement