need help with YNI
#1

hey everyone,
i need some help with YNI becuz i get this kind of errors:
i have this added:
Код:
// default files included
#include <a_samp>
#include <streamer>
#include <zcmd>
#include <sscanf2>
#include <YSI/y_ini>
and i get this error:
Код:
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(16) : fatal error 100: cannot read from file: "YSI/y_ini"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
and i know that it means he cant find the file y_ini in the drectory YNI but the problem is that i have that directory and that i have the file there.. the only thing is that i was busy with putting junkbuster in my server when it happened.. can anyone help me fixing this? pls i need help

EDIT: wait i think i fixed it now XD dont know how i just editted and eleted some shit but now i got this warnings and i even dont know where i have it in my script:
Код:
F:\program files\my own drifting gamemode\pawno\include\YSI\y_hooks.inc(3234) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
F:\program files\my own drifting gamemode\pawno\include\YSI\y_hooks.inc(3303) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
pls help
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
Those are 0.3d callbacks, just ignore them if you're not on that.
....
Reply
#3

Try #include <includes/YSI/y_ini.inc>
Reply
#4

Код:
F:\program files\my own drifting gamemode\pawno\include\YSI\y_hooks.inc(3234) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage")
F:\program files\my own drifting gamemode\pawno\include\YSI\y_hooks.inc(3303) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
Forgot forward OnPlayerTakeDamage... and forward OnPlayerGiveDamage...
Reply
#5

Go Includes Folder and open y_hooks.inc
Ctrl + f and search for (OnPlayerTakeDamage, OnPlayerGiveDamage). Delete when you find them.
I did it too because I had these two warnings and works fine!
Reply
#6

ok i will try this all guys and really thnx for ur help but 1 thing i dont understand... i didnt had this warning ever before why its now knocking at me? why not at the begin? i never had this warning shit before.. anyway i hope i can fix it now.
Reply
#7

I had also the oldest version by ISI and when I download the newest I got these warnings.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)