Vehicle Height(Z) detect.
#1

Have a nice day;
Hi, vehicle specific height jump detect, how do I promote it with a method vehicle height ?
- Sorry bad English -
Reply
#2

pawn Код:
new Float:x, Float:y, Float:z;

GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
Reply
#3

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), xyz); 
Reply
#4

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
Reply
#5

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)
Reply
#6

check for Z rotation, not for the vehicle hight.

Here
Reply
#7

Add a pickup on the ramp, then OnPlayerPickUpPickup
Reply
#8

great thanks !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)