• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] fatal error 111
#1
- I upgraded the old pawn YSI with the new YSI 5x and shows me this:



PHP Code:
pawno\include\YSI\y_hooks.inc(73) : fatal error 111: user error: Use `#include <YSI_Coding\y_hooks>`



- I added but it shows again?



-My include in gamemod:



PHP Code:
#pragma dynamic 500000 #include <a_samp> #include <sscanf2> #include <streamer> #include <YSI_Storage\y_ini> #include <YSI_Data\y_iterate> #include <zcmd> //#include <YSI_Coding\y_hooks> // #include <mSelection> //#include <mapandreas> #include <progress2> #include <dof2> #include <a_actor> #undef MAX_PLAYERS ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #define MAX_PLAYERS ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?100
  Reply
#2
Adding the code as a comment doesn't count.
[Image: github-samp-icon.png]
  Reply
#3
New versions of YSI do not work and eject errore all the time. I tried everything with others and it doesn't help?
  Reply
#4
Your error is coming from y_hooks:

Code:
Use `#include <YSI_Coding\y_hooks>`



but you did include

Code:
#include <YSI\y_hooks>



and did

Code:
//#include <YSI_Coding\y_hooks>

which is just a comment.



You should remove both lines and do

Code:
#include <YSI_Coding\y_hooks>

instead.
[Image: github-samp-icon.png]
  Reply
#5
I deleted the same again?
  Reply
#6
It might be that some of your?includes are using
Code:
#include <YSI\y_hooks>
instead of?
Code:
#include <YSI_Coding\y_hooks>

I'm sure older versions of progress2 does that
  Reply
#7
(2019-11-07, 10:49 AM)Tomas Wrote: It might be that some of your?includes are using
Code:
#include <YSI\y_hooks>
instead of?
Code:
#include <YSI_Coding\y_hooks>



I'm sure older versions of progress2 does that



Dont work.
  Reply