Help with complying gamemode with YSI
#1

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?
Reply
#2

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.
Reply
#3

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? =(
Reply
#4

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).
Reply
#5

sorry just niticed you used
Код:
#pragma unused Langs_AddFile
#pragma unused Langs_AddLanguage
that was reason for my post
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)