a problem with OnPlayerTakeDamage
#1

Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodyparts)
"bodyparts" is the problem i've updated YSI to 3.1zRC4 and RC5 and still shows the same error!, also tried 0.3x lol none is working for me. :@
i have made like he said
Код:
pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
Код:
pawno\include\YSI\y_hooks/impl.inc(2339) : error 025: function heading differs from prototype
Reply
#2

Код:
"fatal error 100: cannot read from file: "..\YSI_Internal\y_compilerpass"
you said

Quote:

Code:
The true problem is here:
\YSI/y_ini.inc
Somewhere in your code, or in one of the includes in your code, a file has been included incorrectly. ALL YSI files MUST be included using a backslash, NOT a forward slash. Change:

Code:
#include <YSI/y_ini>

To:

Code:
#include <YSI\y_ini>

Repeat for all other includes done wrong (i.e using "YSI/" not "YSI\").

still the same error :/
Reply
#3

i'm confused, do i have to change this line like this or keep it or what -_-
Quote:

#include "../YSI_Internal/y_compilerpass"

with this slash "/"? or i have to use "\"
Reply
#4

i'm going to use RC5, is there a way to make it works?
Reply
#5

It's "bodypart", not "bodyparts".
Reply
#6

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
It's "bodypart", not "bodyparts".
it shows the same error,
Reply
#7

i can not find a solution :/
Bump.
Reply
#8

i have fixed it, thanks -remove-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)