Problem OnPlayerWeaponShot Body Parts - 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: Problem OnPlayerWeaponShot Body Parts (
/showthread.php?tid=596008)
Problem OnPlayerWeaponShot Body Parts -
Vaki - 11.12.2015
Please help
http://prntscr.com/9cv8dv
Re: Problem OnPlayerWeaponShot Body Parts -
Sjn - 11.12.2015
Update your a_samp.inc file.
Download the latest server package and replace old include with the new one.
I'd recommend to update all includes as well, not only a_samp.inc also if your server is still running with old version i.e 0.3z or bellow, you will need to update your entire server to the latest version.
Re: Problem OnPlayerWeaponShot Body Parts -
Vaki - 11.12.2015
Not work.
Re: Problem OnPlayerWeaponShot Body Parts -
Sjn - 11.12.2015
Show your OnPlayerWeaponShot callback.
Edit: Are you trying to use bodypart with OnPlayerWeaponShot callback? If yes, that's not possible since the parameter of this callback is
OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
Use OnPlayerGiveDamage or OnPlayerTakeDamage instead.
Re: Problem OnPlayerWeaponShot Body Parts -
Vaki - 11.12.2015
Never mind i use OnPlayerTakeDamage but no work i try with OnPlayerGiveDamage not work too never mind and tnx anyway