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=565405)



OnPlayerTakeDamage - nezo2001 - 27.02.2015

First i didn't find the callback in the script so i copied it from a_samp include but it give this error
Код:
error 025: function heading differs from prototype
here is it
PHP код:
public OnPlayerTakeDamage(playeridissueridFloat:amountweaponidbodypart
Please Help !


Re: OnPlayerTakeDamage - Beckett - 27.02.2015

Upgrade to 0.3z.


Re: OnPlayerTakeDamage - nezo2001 - 27.02.2015

it is already defined in a_samp


Re: OnPlayerTakeDamage - nezo2001 - 27.02.2015

Anyone please i need it


Re: OnPlayerTakeDamage - Rog - 27.02.2015

u shld update ur a_samp include


Re: OnPlayerTakeDamage - nezo2001 - 27.02.2015

I put the 0.37 one and nothing ?!


Re: OnPlayerTakeDamage - CalvinC - 27.02.2015

If you're using YSI, try updating it.


Re: OnPlayerTakeDamage - HydraHumza - 27.02.2015

i also faced same error when i was creating headshot but i fix it from here try Click