[Server] How to check if you have a vehicle in position - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12) --- Thread: [Server] How to check if you have a vehicle in position (/showthread.php?tid=1415) |
How to check if you have a vehicle in position - Frajola - 2020-12-09 Hello guys, I have a problem. I'm making a garage system and I would like to know if there are any vehicles parked. I tried that way, but the vehicle is created in the same position in the second wave, the system works perfectly until the second wave, the third time the truck is created on top of the other. My English is bad, for a better interpretation of the problem, watch the video:?https://youtu.be/QOKytHFMVQQ Code: enum VacancyInfo RE: How to check if you have a vehicle in position - Radical - 2020-12-09 Hello I think the problem is with the "IsVehicleFromRangePointEx" function. Try this: Code: stock IsVehicleFromRangePointEx(Float:range, Float:x, Float:y, Float:z) RE: How to check if you have a vehicle in position - Frajola - 2020-12-09 (2020-12-09, 08:33 PM)Radical Wrote: Hello Thanks, it worked RE: How to check if you have a vehicle in position - Pinch - 2020-12-10 Browhat |