y_ini problem.
#1

When-ever i try to Compile my script, i have this error
Код:
<direction>\test.pwn(1322) : warning 203: symbol is never used: "Langs_AddLanguage"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
And i only have 1321 lines..
I have the y_ini #defined and #included ..
Reply
#2

try by adding under OnGameModeInit

pawn Код:
Langs_AddLanguage("EN", "English");
let me know if works
Reply
#3

Haha, thanks!
But, could you answer me this?:
Why is my pawno compiling slower, since i've added the y_ini?
Reply
#4

Quote:
Originally Posted by iJumbo
Посмотреть сообщение
try by adding under OnGameModeInit

pawn Код:
Langs_AddLanguage("EN", "English");
let me know if works
It's not about Kyance adding the code below OnGameModeInit the compiler warns you that you do not use that variable, if you don't use it just simply comment(//) that line since you aren't using it.

Quote:
Originally Posted by Kyance
Посмотреть сообщение
Haha, thanks!
But, could you answer me this?:
Why is my pawno compiling slower, since i've added the y_ini?
****** mentioned this before, just a little researched could help you.
Quote:
Originally Posted by ******
It takes a long time to compile because you are including ALL of YSI, and that's a LOT of code! Most people only include the individual libraries that they require. y_text especially is very big, you can speed up compile times during testing by doing:

pawn Код:
#define YSI_NO_X11
Reply
#5

Well.. thanks then :d
repped both xd
Reply
#6

Uh, another problem.
I followed a Login/Register tutorial for y_ini, but it says
*** YSI ERROR: YSI/users/index.YSI does not exist and couldn't be created.
*** YSI ERROR: Could not upgrade the user files.
Well, all i understand is that the path isn't correct.
I have this in the defines:
pawn Код:
#define PATH "/Users/%s.ini"
But i still don't understand, how to change/find the path..
The tutorial i followed: https://sampforum.blast.hk/showthread.php?tid=273088
--
IGNORE IT, MOVING TO SOMETHING ELSE xd
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)