Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.35 KB | None | 0 0
  1. stock GarazaID(playerid)
  2. {
  3.     new id = 9999;
  4.     for(new i = 0; i < 9999; i++) {
  5.         if(HouseInfo[i][hImagarazu] != 0 && HouseInfo[i][hEntrancex] != 0) {
  6.             if(IsPlayerInRangeOfPoint(playerid, 7.0, HouseInfo[i][hGarazaX], HouseInfo[i][hGarazaY], HouseInfo[i][hGarazaZ])) {
  7.                 id = i;
  8.                 break;
  9.             }
  10.         }
  11.     }
  12.     return id;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement