OnPlayerTakeDamage
#1

I have this error error 025: function heading differs from prototype in OnPlayerTakeDamage
And update the include a_samp to version 0.3.7 R2 And the error still persists. Can someone tell me what's going on? Thank you

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
Reply
#2

Hello!

How do you open your gamemode? Try this:
pawno folder -> pawno -> Open -> your gamemode.pwn

Then try to compile your script.
Reply
#3

Quote:
Originally Posted by Johangelo1
Посмотреть сообщение
I have this error error 025: function heading differs from prototype in OnPlayerTakeDamage
And update the include a_samp to version 0.3.7 R2 And the error still persists. Can someone tell me what's going on? Thank you

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
Update your entire pawno folder with includes
Reply
#4

Quote:
Originally Posted by Flamehaze7
Посмотреть сообщение
Update your entire pawno folder with includes
Still the same error
Reply
#5

I prefer you to check this out https://sampforum.blast.hk/showthread.php?tid=488198 or update all samp includes
Reply
#6

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
This is how it should be like.

If it shows the same error, download the SA-MP Server Package and try again, should work.
Reply
#7

Quote:
Originally Posted by Variable™
Посмотреть сообщение
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
This is how it should be like.

If it shows the same error, download the SA-MP Server Package and try again, should work.
Adding a space won't change anything. It could even be
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:    amount, weaponid, bodypart)
Reply
#8

And replace everything with the new version of samp and still the error persists
Reply
#9

Quote:
Originally Posted by GoldenLion
Посмотреть сообщение
Adding a space won't change anything. It could even be
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:    amount, weaponid, bodypart)
I didn't say anything regarding the space, neither my point was the space. Obviously I know that. I just stated how it looks like.
Reply
#10

Solved
SOLUTION [Include] YSI 3.1 - 0.3z
http://www.solidfiles.com/v/axYekXgDn8V3g/dl
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)