Vehicle radius
#4

You can use like below in /gunstroage scripts :
PHP код:
        for(new 0MAX_VEHICLESi++)
        {
            if(
GetVehicleModel(i) == 519)
            {
                new 
Float:shaxFloat:shayFloat:shaz;
                
GetVehiclePos(ishaxshayshaz);
                if(
IsPlayerInRangeOfPoint(playerid,8.0,shax,shay,shaz))
                {
                    
// Any code that you wanna put.
                
}
                else
                {
                    
SendClientMessage(playeridCOLOR_WHITE"You are not near a Shamal!");
                    return 
1;
                }
            }
        } 
Reply


Messages In This Thread
Vehicle radius - by Shazwan - 23.05.2015, 09:27
Re: Vehicle radius - by Alpay0098 - 23.05.2015, 09:33
Re: Vehicle radius - by Shazwan - 23.05.2015, 09:41
Re: Vehicle radius - by Alpay0098 - 23.05.2015, 09:47
Re: Vehicle radius - by dominik523 - 23.05.2015, 09:48
Re: Vehicle radius - by Shazwan - 23.05.2015, 09:51

Forum Jump:


Users browsing this thread: 1 Guest(s)