function heading differs from prototype
#1

C:\Users\Alex\Desktop\girlshare.ro_romixers\gamemo des\sarma.pwn(5814) : error 025: function heading differs from prototype
C:\Users\Alex\Desktop\girlshare.ro_romixers\gamemo des\sarma.pwn(5814) : error 025: function heading differs from prototype
C:\Users\Alex\Desktop\girlshare.ro_romixers\gamemo des\sarma.pwn(5901) : error 025: function heading differs from prototype
C:\Users\Alex\Desktop\girlshare.ro_romixers\gamemo des\sarma.pwn(5901) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.



line 5814 - Functie OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
line 5901 - Functie OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
Reply
#2

Try

OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
Reply
#3

yes... but nothing...
Reply
#4

Update your sa-mp package to the last one.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)