[Help] Warnings -
Arxalan - 28.12.2014
Hello , i want to know that too much warnings can damage the script?
Re: [Help] Warnings -
UltraScripter - 28.12.2014
depends what warrnings
Re: [Help] Warnings -
Arxalan - 28.12.2014
warning 204: symbol is assigned a value that is never used: "string"
warning 216: nested comment warning 203: symbol is never used: "Characters"
warning 203: symbol is never used: "MBSPAWN"
warning 204: symbol is assigned a value that is never used: "MoneyBagFound"
warning 204: symbol is assigned a value that is never used: "VIEW_FROM_ABOVE"
warning 203: symbol is never used: "begin_react"
warning 203: symbol is never used: "money_times"
warning 203: symbol is never used: "pFellOffText"
warning 203: symbol is never used: "pInterior"
warning 203: symbol is never used: "pReadyText"
warning 203: symbol is never used: "pSavedAmmo"
warning 203: symbol is never used: "pWeaponData"
warning 203: symbol is never used: "uTimer"
These types of errors
Re: [Help] Warnings -
Aliassassin123456 - 28.12.2014
No, These warnings never damage the script but the warning said, these variables never used in the script and you can remove them from the script.
Re: [Help] Warnings -
UltraScripter - 28.12.2014
For Example!
This warrning cause problem
Код:
warning 202: number of arguments does not match definition
but this will only send Unkown Command when you do the command!
Re: [Help] Warnings -
Boot - 28.12.2014
Quote:
Originally Posted by Arxalan
warning 204: symbol is assigned a value that is never used: "string"
warning 216: nested comment warning 203: symbol is never used: "Characters"
warning 203: symbol is never used: "MBSPAWN"
warning 204: symbol is assigned a value that is never used: "MoneyBagFound"
warning 204: symbol is assigned a value that is never used: "VIEW_FROM_ABOVE"
warning 203: symbol is never used: "begin_react"
warning 203: symbol is never used: "money_times"
warning 203: symbol is never used: "pFellOffText"
warning 203: symbol is never used: "pInterior"
warning 203: symbol is never used: "pReadyText"
warning 203: symbol is never used: "pSavedAmmo"
warning 203: symbol is never used: "pWeaponData"
warning 203: symbol is never used: "uTimer"
These types of errors
|
These warnings are telling you that you never used these variables quoted, so you may delete them. They won't "damage" your script, however, it's better you keep your script always "cleaned".
Re: [Help] Warnings -
Arxalan - 29.12.2014
I tried to delete them . But i dowloaded the GM from Sa-mp.com and these warnings orrcur when i removed some functions.Now i don't know in which line they are so that's why i can't delete them.
Re: [Help] Warnings -
JaKe Elite - 29.12.2014
The compiler tells you where these variables are located, Read them carefully.
Once you found the script line, Press CTRL+G and type the line number
Re: [Help] Warnings -
Arxalan - 29.12.2014
What about this :
(2756 -- 13710) : warning 203: symbol is never used: "pReadyText"
on which line it is located.