enter vehicle
#3

Код:
new iveh;
new Float:vehpos[ 3 ];
for(iveh = 1; iveh < MAX_VEHICLES; iveh++)
{
 GetVehiclePos(iveh, vehpos[ 0 ], vehpos[ 1 ], vehpos[ 2 ] );
if( IsPlayerInRangeOfPoint(playerid, 8.0, vehpos[ 0 ], vehpos[ 1 ], vehpos[ 2 ] ) )
{
// you can do all what you want, here script find a vehicle, which is near you.
}
}
Reply


Messages In This Thread
enter vehicle - by Aarab - 01.05.2013, 12:26
Re: enter vehicle - by Aarab - 01.05.2013, 12:34
Re: enter vehicle - by audriuxxx - 01.05.2013, 12:37
Re: enter vehicle - by Aarab - 01.05.2013, 12:40
Re: enter vehicle - by audriuxxx - 01.05.2013, 12:41
Re: enter vehicle - by Aarab - 01.05.2013, 12:44
Re: enter vehicle - by audriuxxx - 01.05.2013, 12:54
Re: enter vehicle - by Aarab - 01.05.2013, 13:14
Re: enter vehicle - by audriuxxx - 02.05.2013, 11:43

Forum Jump:


Users browsing this thread: 2 Guest(s)