SA-MP Forums Archive
Health going down when somebody stick/break something with vehicle - 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: Health going down when somebody stick/break something with vehicle (/showthread.php?tid=90098)



Health going down when somebody stick/break something with vehicle - Ben147 - 06.08.2009

How should can i do that if somebody in vehicle stick/break something hes life going down?


Re: Health going down when somebody stick/break something with vehicle - Sergei - 06.08.2009

Find a function which lowers player health when crashing with vehicle (seif_vehicle include for example) and then call it on OnPlayerUpdate.