2020-12-09, 09:24 PM
(2020-12-09, 08:33 PM)Radical Wrote: Hello
I think the problem is with the "IsVehicleFromRangePointEx" function.
Try this:
Code:stock IsVehicleFromRangePointEx(Float:range, Float:x, Float:y, Float:z)
{
? ? foreach(new i: Vehicle)
? ? {
? ? ? ? if ( IsVehicleInRangeOfPoint(i, range, x, y, z) ) return 1;
? ? }
? ? return 0;
}
Thanks, it worked