Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Float:x,Float:y, Float:z,Float: z_angle;
- new Float:x1, Float:y1, Float:z1;
- for(new v; v < MAX_VEHICLES; v++)
- {
- GetVehiclePos(v, x, y, z);
- GetPlayerPos(playerid, x1, y1, z1);
- GetVehicleZAngle(v, z_angle);
- if(!IsPlayerInRangeOfPoint(playerid, 3.0, x,y,z)) continue;
- /*тут действие*/
- return 1;
- }
Add Comment
Please, Sign In to add comment