Problem with YSI - 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: Problem with YSI (
/showthread.php?tid=473442)
Problem with YSI -
Baltazar - 02.11.2013
So, I'm trying to include the whole YSI and it gives me this warning:
Код:
warning 203: symbol is never used: "Langs_AddLanguage"
#pragma unused is not a solution
what's the problem here and how to correctly fix it?
EDIT: Ok, here are few more problems
[23:25:01] *** YSI Error: YSI/users/index.YSI does not exist and couldn't be created.
[23:25:02] *** YSI Error: Could not upgrade user files.
[23:25:02] *** YSI Error: Could not upgrade user files.
[23:25:02] *** YSI Error: No languages found - Did you add "Langs_AddLanguage" to the script init (NOT "main")?
Re: Problem with YSI -
JohnRazer - 02.11.2013
What specific include is causing that warning? Also, what line?
Re: Problem with YSI -
Baltazar - 02.11.2013
Quote:
Originally Posted by JohnRazer
What specific include is causing that warning? Also, what line?
|
It's written that the problem is in the last line of my [gamemode_name].pwn file
Re: Problem with YSI -
rappy93 - 02.11.2013
Well search for the line where "Langs_AddLanguage" is defined and comment it with " // "
That should get rid of the warning.
Re: Problem with YSI -
Baltazar - 02.11.2013
Quote:
Originally Posted by rappy93
Well search for the line where "Langs_AddLanguage" is defined and comment it with " // "
That should get rid of the warning.
|
No!!! It means something... no
#pragma unused or comment-outs can be applied here
waiting for a comment of someone, who knows, what this definition is used for
Re: Problem with YSI -
Ada32 - 03.11.2013
it's has to do with y_languages. if your using it, then add a language ->
https://sampforum.blast.hk/showthread.php?tid=295580 if you need help. otherwise, don't use it..
Re: Problem with YSI -
Baltazar - 03.11.2013
Quote:
Originally Posted by Ada32
|
Solved! Few more problems left
Код:
[23:25:01] *** YSI Error: YSI/users/index.YSI does not exist and couldn't be created.
[23:25:02] *** YSI Error: Could not upgrade user files.
[23:25:02] *** YSI Error: Could not upgrade user files.
Re: Problem with YSI -
Ada32 - 03.11.2013
in scriptfiles, create a 'YSI' subdirectory/folder (and in that create a 'users' folder). on run-time YSI will begin to generate some other files.