Help with complying gamemode 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with complying gamemode with YSI (
/showthread.php?tid=92236)
Help with complying gamemode with YSI -
Yiff - 19.08.2009
Every time I try and comply my gamemode using the YSI streamer, I get this problem:
Quote:
C:\Users\Pentium D\Desktop\lvairbeta2.pwn(472) : warning 203: symbol is never used: "Langs_AddFile"
C:\Users\Pentium D\Desktop\lvairbeta2.pwn(472) : warning 203: symbol is never used: "Langs_AddLanguage"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
|
What have I done wrong?
Re: Help with complying gamemode with YSI -
Calgon - 19.08.2009
They're only warnings - it compiles fine, with two warnings.
To fix the warnings, find where you defined "Langs_AddFile" and "Langs_AddLanguage", temporarily null them out with comments and enjoy.
Re: Help with complying gamemode with YSI -
Yiff - 19.08.2009
Thanks, I've fixed it by adding #pragma unused Langs_AddFile and #pragma unused Langs_AddLanguage to the beginning of my script. It works but still most objects in my map don't load. Why is that? =(
Re: Help with complying gamemode with YSI -
Calgon - 19.08.2009
Quote:
Originally Posted by Yiff
Thanks, I've fixed it by adding #pragma unused Langs_AddFile and #pragma unused Langs_AddLanguage to the beginning of my script. It works but still most objects in my map don't load. Why is that? =(
|
Remove that and just ignore the warnings then, warnings can be misleading. Or create something to parse the variables so you don't get warnings (waste of code, but avoids compile warnings).
Re: Help with complying gamemode with YSI -
Mr_Finnigan - 19.08.2009
sorry just niticed you used
Код:
#pragma unused Langs_AddFile
#pragma unused Langs_AddLanguage
that was reason for my post