0.3z - OnPlayerTakeDamage(...., bodypart)
#1

If i try adding the " ,bodypart)" thing to the "OnPlayerTakeDamage", i get this error:

Код:
\test2.pwn(6167) : error 025: function heading differs from prototype
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
If i remove the "bodypart", then i get:
Код:
\test2.pwn(6175) : error 017: undefined symbol "bodypart"
Do i need to update the Y_INI etc..?
Reply


Messages In This Thread
0.3z - OnPlayerTakeDamage(...., bodypart) - by Kyance - 05.03.2014, 13:20
Re: 0.3z - OnPlayerTakeDamage(...., bodypart) - by KaliKs - 05.03.2014, 13:22
Re: 0.3z - OnPlayerTakeDamage(...., bodypart) - by Kyance - 05.03.2014, 13:39
Re: 0.3z - OnPlayerTakeDamage(...., bodypart) - by [XST]O_x - 05.03.2014, 13:51
Re: 0.3z - OnPlayerTakeDamage(...., bodypart) - by XK - 05.03.2014, 14:06
Re: 0.3z - OnPlayerTakeDamage(...., bodypart) - by Kyance - 05.03.2014, 15:27
Re: 0.3z - OnPlayerTakeDamage(...., bodypart) - by XK - 05.03.2014, 15:37
Re: 0.3z - OnPlayerTakeDamage(...., bodypart) - by Kyance - 05.03.2014, 15:43

Forum Jump:


Users browsing this thread: 2 Guest(s)