SA-MP Forums Archive
car crash - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: car crash (/showthread.php?tid=182079)



car crash - Deathwing - 08.10.2010

I want a script when you hit something at high speed the player jump into the car window and in face of car something like in Gta iV
Sorry for my bad english but i'm from romania .
I tried in a lot of modes : with Set player velocity( bug the player dont exit car ) with setplayerpos and get player pos( it teleport into the water ) .


Re: car crash - Sascha - 08.10.2010

this is not possible in gta sa...


Re: car crash - WillyP - 08.10.2010

Quote:
Originally Posted by Sascha
Посмотреть сообщение
this is not possible in gta sa...
yes it is.

he just needs to know how to code it


Re: car crash - Sascha - 08.10.2010

There is no animation or so for it... you can't make the player move as if he/she is falling into the window....
as far as I know that's a new feature of gta iv... otherwise that would have been in sa, too.


Re: car crash - WillyP - 08.10.2010

Quote:
Originally Posted by Sascha
Посмотреть сообщение
There is no animation or so for it... you can't make the player move as if he/she is falling into the window....
as far as I know that's a new feature of gta iv... otherwise that would have been in sa, too.
you dont need animations... they are extra


Re: car crash - Retardedwolf - 08.10.2010

You'll have to find the animation by yourself but there has been a few scripts released like seatbelt scripts to take away a player's health you could just add your own animation in that.


Re: car crash - Deathwing - 09.10.2010

i made something more roleplay using a seatbelt script and this animation at onplayerupdate OnePlayAnim(playerid,"WAYFARER","WF_Fwd",4.0,0,0,0 ,0,0);

Anyway thanks for help


Re: car crash - Macluawn - 09.10.2010

that crashing threw the window is way overdone. Have anyone seen IRL when somebody on crash falls threw the window?