wrong waringon compline ????? - 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: wrong waringon compline ????? (
/showthread.php?tid=135065)
wrong waringon compline ????? -
Brian_Furios - 18.03.2010
on my GM i have this warings
pawn Код:
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_HandleCitySelection"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_InitCityNameText"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_InitTextDraws"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_SetupCharSelection"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_SetupSelectedCity"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_SwitchToNextCity"
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(43171) : warning 203: symbol is never used: "ClassSel_SwitchToPreviousCity"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 9196 bytes
Code size: 1651576 bytes
Data size: 10360376 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5266 cells (21064 bytes)
Total requirements:12037532 bytes
7 Warnings.
Re: wrong waringon compline ????? -
bilakispa - 18.03.2010
They are warnings, not errors. It compiles succefully.
The warning "symbol is never used" means that you have declared the variables but not used them.
You can:
-Ignore the warnings
-Use this somewhere at the top of the script:
pawn Код:
#pragma unused ClassSel_HandleCitySelection
#pragma unused ClassSel_InitCityNameText
#pragma unused ClassSel_InitTextDraws
#pragma unused ClassSel_SetupCharSelection
#pragma unused ClassSel_SetupSelectedCity
#pragma unused ClassSel_SwitchToNextCity
#pragma unused ClassSel_SwitchToPreviousCity
-Delete the variables
Re: wrong waringon compline ????? -
Brian_Furios - 18.03.2010
thx