warning - 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: warning (
/showthread.php?tid=259642)
warning -
xDeadlyBoy - 05.06.2011
i got this script:
pawn Код:
main()
{
if(7894652 == 0x78767C)print("true");
}
and i'm getting this warning:
Quote:
warning 206: redundant test: constant expression is non-zero
|
Re: warning -
iGetty - 05.06.2011
Really? What is that? main() is for the message on the console? Can you please explain a little into this?
Re: warning -
xDeadlyBoy - 05.06.2011
*explain
about this
lol, main is the main function, it's called when the server starts.
everybody knows that man.