function heading differs from prototype error need help.
#1

After defined

pawn Код:
#include <YSI\y_ini>
I am getting this error

pawn Код:
C:\Users\Ryz\Desktop\Call of Duty\gamemodes\codwwh.pwn(6082) : error 025: function heading differs from prototype

error line
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
Reply
#2

Go to YSI > y_als > Open impl.inc

search:
pawn Код:
#define ALS_DO_PlayerGiveDamage<%0> %0<PlayerGiveDamage,iifi>(more:playerid,more:damagedid,Float:amount,end:weaponid)
And replace it to:
pawn Код:
#define ALS_DO_PlayerGiveDamage<%0> %0<PlayerGiveDamage,iifii>(more:playerid,more:damagedid,Float:amount,more:weaponid,end:bodypart)
Reply
#3

Thanks
Reply
#4

ryz help me too!! in making those textdraws
Reply
#5

Quote:
Originally Posted by xMx4LiFe
Посмотреть сообщение
ryz help me too!! in making those textdraws
i am on it! next time please use pm
Reply
#6

ok bro ty for helping
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)