[FIX] error 025: function heading differs from prototype
#6

Quote:
Originally Posted by [TC]XxJuggaloxX
Посмотреть сообщение
Take everything you did for OnPlayerTakeDamage and do it to OnPlayerGiveDamage.
Both of these from what I have seen are the same, However, The Name (Obviously) are different from each other.


Here, These are mine, This should help.

https://www.mediafire.com/?1mwjdd8gvcfi7d6
Thanks, they're working!
BTW; your download is blocked due to DMCA Copyright.

Also; found an error in your code!

pawn Код:
#define ALS_DO_PlayerGiveDamage<%0> %0<PlayerGiveDamage,iifi>(more:playerid,more:issuerid,Float:amount,more:weaponid,end:bodypart)
should be

pawn Код:
#define ALS_DO_PlayerGiveDamage<%0> %0<PlayerGiveDamage,iifi>(more:playerid,more:damagedid,Float:amount,more:weaponid,end:bodypart)
Under \pawno\include\YSI\y_als

PlayerGiveDamage was calling issuerid instead of damagedid!
Reply


Messages In This Thread
[FIX][YSI] error 025: function heading differs from prototype - by [TC]XxJuggaloxX - 17.01.2014, 01:45
AW: [FIX] error 025: function heading differs from prototype - by Littl3j0hNy - 17.01.2014, 02:04
Re: [FIX] error 025: function heading differs from prototype - by [TC]XxJuggaloxX - 17.01.2014, 02:10
Re: [FIX] error 025: function heading differs from prototype - by itsCody - 17.01.2014, 02:43
Re: [FIX] error 025: function heading differs from prototype - by [TC]XxJuggaloxX - 17.01.2014, 03:07
Re: [FIX] error 025: function heading differs from prototype - by itsCody - 17.01.2014, 04:13
Re: [FIX] error 025: function heading differs from prototype - by iZN - 17.01.2014, 05:06
Re: [FIX] error 025: function heading differs from prototype - by dusk - 17.01.2014, 08:58
Re: [FIX] error 025: function heading differs from prototype - by Riddick94 - 17.01.2014, 09:05
Re: [FIX] error 025: function heading differs from prototype - by Tamer - 17.01.2014, 19:18
Re: [FIX] error 025: function heading differs from prototype - by [TC]XxJuggaloxX - 18.01.2014, 02:22
Re: [FIX] error 025: function heading differs from prototype - by Birdkid1999 - 18.01.2014, 16:48
Respuesta: [FIX] error 025: function heading differs from prototype - by Stront - 18.01.2014, 22:05
Respuesta: Re: [FIX] error 025: function heading differs from prototype - by MrKaiser - 26.01.2014, 18:09
Respuesta: [FIX] error 025: function heading differs from prototype - by MrKaiser - 26.01.2014, 19:04
Re: [FIX] error 025: function heading differs from prototype - by [rG]Cold - 30.01.2014, 16:50
Re: [FIX] error 025: function heading differs from prototype - by Manyula - 31.01.2014, 12:35
Re: [FIX] error 025: function heading differs from prototype - by Manyula - 31.01.2014, 16:25
Re: [FIX] error 025: function heading differs from prototype - by Manyula - 31.01.2014, 16:30
Re: [FIX] error 025: function heading differs from prototype - by Manyula - 31.01.2014, 16:39
Re: [FIX] error 025: function heading differs from prototype - by ZeroTheScyther - 18.02.2014, 21:55
Re: [FIX] error 025: function heading differs from prototype - by ZeroTheScyther - 18.02.2014, 22:16
Re: [FIX] error 025: function heading differs from prototype - by Arjanz - 25.02.2014, 04:02
Respuesta: [FIX] error 025: function heading differs from prototype - by luciano123 - 25.02.2014, 04:14
Respuesta: [FIX] error 025: function heading differs from prototype - by PitbullKiller - 26.12.2014, 10:45
Re: [FIX] error 025: function heading differs from prototype - by Sellize - 21.03.2015, 16:14
Re: [FIX] error 025: function heading differs from prototype - by DeeJas - 14.05.2015, 10:55
Re: [FIX] error 025: function heading differs from prototype - by Alby - 21.05.2015, 16:07
Re: [FIX] error 025: function heading differs from prototype - by RedGun2015 - 19.03.2017, 10:48

Forum Jump:


Users browsing this thread: 8 Guest(s)