Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error 025: function heading differs from prototype #276

Open
PazzOnee opened this issue Oct 19, 2023 · 1 comment
Open

error 025: function heading differs from prototype #276

PazzOnee opened this issue Oct 19, 2023 · 1 comment

Comments

@PazzOnee
Copy link

Delete WEAPON tag at these callbacks, hooks because open.mp or samp .inc-s doesn't have that tag

public OnPlayerDeath(playerid, killerid, WEAPON:reason)
CHAIN_FORWARD:WC_OnPlayerDeath(playerid, killerid, WEAPON:reason) = 1;
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, WEAPON:weaponid, bodypart)
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, WEAPON:weaponid, bodypart)
public OnPlayerWeaponShot(playerid, WEAPON:weaponid, BULLET_HIT_TYPE:hittype, hitid, Float:fX, Float:fY, Float:fZ)
CHAIN_FORWARD:WC_OnPlayerWeaponShot(playerid, WEAPON:weaponid, BULLET_HIT_TYPE:hittype, hitid, Float:fX, Float:fY, Float:fZ) = 1;
@NexiusTailer
Copy link
Contributor

NexiusTailer commented May 1, 2024

No, it does have this tag, here:

#define WEAPON: _:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants