Help with car - 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: Help with car (
/showthread.php?tid=590766)
Help with car -
itachi - 03.10.2015
Hello I am play same server and we have car up.. ( see on image)
please help me how do it.
i
Re: Help with car -
AbyssMorgan - 03.10.2015
you want to add hydraulics?
AddVehicleComponent(vehicleid,1087);
Re: Help with car -
itachi - 03.10.2015
no hydraulics,you understand me.
i want this.
example : I press num 8. and front part (see on image.) to up.
example movie : Fast And Furious - Dominic Toreto
Re: Help with car -
AbyssMorgan - 03.10.2015
after adding hydraulics, control it with GTA
NUM 2, 4, 6, 8
Re: Help with car -
itachi - 03.10.2015
I know how control hydr...
but you dont understand me...
do you see image,so dont hydraulics,but same function for statechangekey somethink..
Re: Help with car -
d1git - 03.10.2015
So you want the vehicle to "jump" upward, am I right? If so...
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp("/jump", cmdtext))
{
if(IsPlayerInAnyVehicle(playerid))
SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.2);
return 1;
}
}
Re: Help with car -
itachi - 03.10.2015
no,this is complet car jump
but I want only font wheel up