Vehicle Height(Z) detect. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle Height(Z) detect. (
/showthread.php?tid=604529)
Vehicle Height(Z) detect. -
ProRakNet - 06.04.2016
Have a nice day;
Hi, vehicle specific height jump detect, how do I promote it with a method vehicle height ?
- Sorry bad English -
Re: Vehicle Height(Z) detect. -
Vanter - 06.04.2016
pawn Код:
new Float:x, Float:y, Float:z;
GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
Re: Vehicle Height(Z) detect. -
ProRakNet - 06.04.2016
Quote:
Originally Posted by Vanter
pawn Код:
new Float:x, Float:y, Float:z;
GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
|
What is the difference between it ?
PHP код:
SetVehicleAngularVelocity(GetPlayerVehicleID(playerid), x, y, z);
Re: Vehicle Height(Z) detect. -
Vanter - 06.04.2016
I never used it, but from reading abt it now on Wiki
I think it specifies the rotational speed of the vehicle and the axis about which the vehicle is rotating.
but I'm sure someone might have a better response than I do
Re: Vehicle Height(Z) detect. -
ProRakNet - 06.04.2016
Quote:
Originally Posted by Vanter
I never used it, but from reading abt it now on Wiki
I think it specifies the rotational speed of the vehicle and the axis about which the vehicle is rotating.
but I'm sure someone might have a better response than I do
|
okey thanks. actually I want vehicle ramps jumping detect. I should try your well.(Test)
Re: Vehicle Height(Z) detect. -
Vanter - 06.04.2016
check for Z rotation, not for the vehicle hight.
Here
Re: Vehicle Height(Z) detect. -
Kar - 07.04.2016
Add a pickup on the ramp, then OnPlayerPickUpPickup
Re: Vehicle Height(Z) detect. -
ProRakNet - 07.04.2016
great thanks !