[Help] Warnings
#1

Hello , i want to know that too much warnings can damage the script?
Reply
#2

depends what warrnings
Reply
#3

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
Reply
#4

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

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!
Reply
#6

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

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

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
Reply
#9

What about this :
(2756 -- 13710) : warning 203: symbol is never used: "pReadyText"
on which line it is located.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)