Guest User

Untitled

a guest
Jan 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.33 KB | None | 0 0
  1. new Float:x,Float:y, Float:z,Float: z_angle;
  2. new Float:x1, Float:y1, Float:z1;
  3. for(new v; v < MAX_VEHICLES; v++)
  4. {
  5.     GetVehiclePos(v, x, y, z);
  6. GetPlayerPos(playerid, x1, y1, z1);
  7. GetVehicleZAngle(v, z_angle);
  8.     if(!IsPlayerInRangeOfPoint(playerid, 3.0, x,y,z)) continue;
  9. /*тут действие*/
  10.  
  11.     return 1;
  12. }
Add Comment
Please, Sign In to add comment