SA-MP Forums Archive
OnPLayerTakeDamage - 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: OnPLayerTakeDamage (/showthread.php?tid=624813)



OnPLayerTakeDamage - MerryDeer - 23.12.2016

Hi,

weaponid when player is in vehicle and shoot another player will report weaponid player now holding or

Prior to version 0.3z R1-2, when the player state is PLAYER_STATE_PASSENGER this function returns the weapon held by the player before they entered the vehicle. If a cheat is used to spawn a weapon inside a vehicle, this function will not report it.