SetVehicleZAngle question
#1

Hi, I have a question regarding SetVehicleZAngle
I've noticed that this function is working if there's a players inside a vehicle, but is not working in empty vehicles.
Has anyone any idea how to make it work on empty vehicles ?

I need something like this:

Код:
public OnVehicleSpawn(vehicleid) //callback
{
		SetVehiclePos(vehicleid,CarInfo[vehicleid][cLocationx], CarInfo[vehicleid][cLocationy], CarInfo[vehicleid][cLocationz]);
		SetVehicleZAngle(vehicleid, CarInfo[vehicleid][cAngle]);
}
I mention that values from CarInfo are dymanic, and SetVehiclePos is wotking but it remains with the angle witch the vehicle was added ingame with

Код:
CreateVehicle(....,angle,...)
Thank you,

Mike.
Reply


Messages In This Thread
SetVehicleZAngle question - by s1cr0n - 04.12.2009, 13:41
Re: SetVehicleZAngle question - by s1cr0n - 04.12.2009, 13:44
Re: SetVehicleZAngle question - by s1cr0n - 04.12.2009, 13:54

Forum Jump:


Users browsing this thread: 1 Guest(s)