IsVehicleInRangeOfPoint
#7

PHP код:
stock IsVehicleRangeOfPoint(vehicleid,Float:range,Float:x,Float:y,Float:z)
{
    if(
vehicleid == INVALID_VEHICLE_ID) return 0;
    
    new 
Float:DistantaCar GetVehicleDistanceFromPoint(vehicleidxyz);
    
    if(
DistantaCar <= range) return 1;
    return 
0;

Reply


Messages In This Thread
IsVehicleInRangeOfPoint - by MerryDeer - 26.08.2016, 07:35
Re: IsVehicleInRangeOfPoint - by Konstantinos - 26.08.2016, 07:39
Re: IsVehicleInRangeOfPoint - by SickAttack - 26.08.2016, 07:39
Re: IsVehicleInRangeOfPoint - by MerryDeer - 27.08.2016, 05:18
Re: IsVehicleInRangeOfPoint - by WhiteGhost - 27.08.2016, 05:22
Re: IsVehicleInRangeOfPoint - by SoLetsGO - 27.08.2016, 11:54
Re: IsVehicleInRangeOfPoint - by Scriptery - 16.10.2016, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)