need help with YNI - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: need help with YNI (
/showthread.php?tid=297556)
need help with YNI -
niels44 - 16.11.2011
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
Re: need help with YNI -
SmiT - 16.11.2011
Quote:
Originally Posted by ******
Those are 0.3d callbacks, just ignore them if you're not on that.
|
....
Re: need help with YNI -
Daddy Yankee - 16.11.2011
Try #include <includes/YSI/y_ini.inc>
Re : need help with YNI -
Gagi_Corleone - 16.11.2011
Код:
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...
Re: need help with YNI -
Kostas' - 16.11.2011
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!
Re: need help with YNI -
niels44 - 17.11.2011
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.
Re: need help with YNI -
Kostas' - 17.11.2011
I had also the oldest version by ISI and when I download the newest I got these warnings.