SA-MP Forums Archive
[HELP]warrnings -.-" - 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]warrnings -.-" (/showthread.php?tid=248221)



[HELP]warrnings -.-" - Nenad - 12.04.2011

can someone pls help me how to fix this?
i use my own script and when i compile it it says this
Код HTML:
C:\Documents and Settings\Windows\Desktop\ET RolePlay v2\gamemodes\larp.pwn(10851) : warning 204: symbol is assigned a value that is never used: "actstring"
C:\Documents and Settings\Windows\Desktop\ET RolePlay v2\gamemodes\larp.pwn(21058) : warning 203: symbol is never used: "engine"
C:\Documents and Settings\Windows\Desktop\ET RolePlay v2\gamemodes\larp.pwn(34703) : warning 219: local variable "vehid" shadows a variable at a preceding level
C:\Documents and Settings\Windows\Desktop\ET RolePlay v2\gamemodes\larp.pwn(35026) : warning 219: local variable "vehid" shadows a variable at a preceding level
C:\Documents and Settings\Windows\Desktop\ET RolePlay v2\gamemodes\larp.pwn(36057) : warning 219: local variable "vehid" shadows a variable at a preceding level
C:\Documents and Settings\Windows\Desktop\ET RolePlay v2\gamemodes\larp.pwn(84894) : warning 203: symbol is never used: "DoorsStatus"
C:\Documents and Settings\Windows\Desktop\ET RolePlay v2\gamemodes\larp.pwn(84894) : warning 203: symbol is never used: "ObjectiveStatus"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Warnings.
line 10851

Код:
new actstring[128];
line 21058

Код:
new engine,lights,alarm,doors,bonnet,boot,objective;
line 34703

Код:
new vehid;
line 35026

Код:
new vehid;
line 36057

Код:
new vehid = GetPlayerVehicleID(playerid);
nothing on line 84894


Re: [HELP]warrnings -.-" - Voldemort - 12.04.2011

We cant help, not enough script, these looks more like everyday errors when I scripting, when Im tired

Just check again, where you use each value, also pawno actualy asnwered your question


Re: [HELP]warrnings -.-" - Andy6999 - 12.04.2011

You made a script of 80,000 lines and you can't fix these warnings?
Don't think so lol.


Re: [HELP]warrnings -.-" - Nenad - 12.04.2011

FIXED! PLEASE LOCK!


Re: [HELP]warrnings -.-" - Hal - 12.04.2011

Quote:
Originally Posted by Voldemort
Посмотреть сообщение
We cant help, not enough script, these looks more like everyday errors when I scripting, when Im tired

Just check again, where you use each value, also pawno actualy asnwered your question
If he didn't say fixed, i could tell him exactly what he needed to do to fix the warnings...


Re: [HELP]warrnings -.-" - Nenad - 12.04.2011

Quote:
Originally Posted by Andy6999
Посмотреть сообщение
You made a script of 80,000 lines and you can't fix these warnings?
Don't think so lol.
i didn't made this script...i bought it -.-"

Quote:
Originally Posted by Hal
Посмотреть сообщение
If he didn't say fixed, i could tell him exactly what he needed to do to fix the warnings...
too late xD tnx anyway

p.s: sorry for my bad english