SA-MP Forums Archive
Vehicle damage - 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 damage (/showthread.php?tid=367636)



Vehicle damage - oliver12 - 10.08.2012

Hello!
is there a way to detect player hitting vehicle(with arms). I want to increase a player variable(lets say x)x everytime when right player hits desired car(before that he need to write ex /cmd (otherplayerid) ). Other player is sitting in that car. How to do that?
Thank you,
Oliver
Please Help!


Re: Vehicle damage - oliver12 - 11.08.2012

BUMP


Re: Vehicle damage - FalconX - 11.08.2012

Quote:
Originally Posted by oliver12
Посмотреть сообщение
BUMP
You can use this include: https://sampforum.blast.hk/showthread.php?tid=276059

OnPlayerVehicleDamage and check player's weapon if it's FIST do your code like that.


Re: Vehicle damage - oliver12 - 11.08.2012

Thank you!