warning 203: symbol is never used - 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: warning 203: symbol is never used (
/showthread.php?tid=524510)
warning 203: symbol is never used -
Quez - 07.07.2014
Quote:
C:\Users\Berk\Desktop\yeni tema (2)\linnRPG\gamemodes\re.pwn(18932) : warning 203: symbol is never used: "OnDialogResponse"
C:\Users\Berk\Desktop\yeni tema (2)\linnRPG\gamemodes\re.pwn(30017) : warning 203: symbol is never used: "GetVehicleWithinDistance"
C:\Users\Berk\Desktop\yeni tema (2)\linnRPG\gamemodes\re.pwn(30017) : warning 203: symbol is never used: "IsVehicleRcTram"
C:\Users\Berk\Desktop\yeni tema (2)\linnRPG\gamemodes\re.pwn(30017) : warning 203: symbol is never used: "LSPD"
C:\Users\Berk\Desktop\yeni tema (2)\linnRPG\gamemodes\re.pwn(30017) : warning 203: symbol is never used: "OnePlayAnim"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Warnings.
|
18932 lines:
Quote:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
OnDialogResponse:
if(dialogid == DIALOG_CIKIS)
{
if(response)
{
Kick(playerid);
}
}
|
30017 lines: Such a line does not appear.
Re: warning 203: symbol is never used -
UserName31 - 07.07.2014
Quote:
Originally Posted by Quez
18932 lines:
30017 lines: Such a line does not appear.
|
if you not using that then delete them
delete
PHP код:
OnDialogResponse"
GetVehicleWithinDistance"
"IsVehicleRcTram"
"LSPD"
"OnePlayAnim
i dont know if u doing #define LSPD OR new LSPD but if u do and that is saying that then u need to use them , so then the script pwno compiler wont say why do i have new LSPD or #define LSPD
lol idk if u understand but just show me the were is the LSPD define in your script?
Re: warning 203: symbol is never used -
Jacob756 - 07.07.2014
Search you includes .. once i downloaded Grandlarc.pwn (it comes with the server package) .. I compiled.. there were only 3 warns after removing some lines.. the warns were:
Код:
warning 203: symbol is never used "gArmySpawns"
warning 203: symbol is never used "gMedicalSpawns"
warning 203: symbol is never used "gPoliceSpawns"
The very next day ... i have gone to the includes folder not in
but the one in
i opend the include "gl_SPawns" and i saw these three warning names
Код:
gArmySpawns
gMedicalSpaws
gPoliceSpawns
so i excluded gl_spawns from the grandlarc.pwn GM and i got 0 warns and 0 errors..
To solve this prob, search your includes
Hope this Helps .. plz +REP i need to advertise my server