garfield

[COD]: isPlayerGangZone

Oct 4th, 2011
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.30 KB | None | 0 0
  1. isPlayerGangZone(pid, Float: gz_x, Float: gz_y,  Float: gz_x2, Float: gz_y2)
  2. {
  3.     static Float:X, Float:Y, Float:Z;
  4.     GetPlayerPos(pid, X, Y, Z);
  5.     if (X > gz_x && X < gz_x2 && Y > gz_y && Y < gz_y2)
  6.         return true;
  7.        
  8.     return 0;
  9. }
  10.  
  11.  
  12. // Verifica se o Player está em uma GangZone.
  13. // Feita por [iPs]SuYaNw
  14.  
Advertisement
Add Comment
Please, Sign In to add comment