SA-MP Forums Archive
[HELP] 2 Warnings - 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: [HELP] 2 Warnings (/showthread.php?tid=542173)



[HELP] 2 Warnings - AYOUYOU - 17.10.2014

Код:
D:1\Ay0uB\Bureau\NOUVEA~2\1\X1treme.pwn(5250) : warning 203: symbol is never used: "Count"
D:\DOCUME~1\Ay0uB\Bureau\NOUVEA~2\GAMEMO~1\X1treme.pwn(5250) : warning 203: symbol is never used: "CountText"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
That When i Have Add This

Код:
new Count = 5;
new CountText[5][5] ={
"~r~1",
"~r~2",
"~r~3",
"~w~4",
"~w~5"
};



Re: [HELP] 2 Warnings - Roel - 17.10.2014

Yes you have only defined the variable, but you never requested it (used it).
So it gives you a warning because pawno is wondering why you define a variable that you never use.
Anyway you can ignore that warning if you will use those variables later on, else you can remove those variables.


Re : [HELP] 2 Warnings - AYOUYOU - 17.10.2014

Yes But How To Fix it new Count = 5;
new CountText[5][5] ={
"~r~1",
"~r~2",
"~r~3",
"~w~4",
"~w~5"
}; is For Start /Countdown cmd For Players


Re: [HELP] 2 Warnings - Stanford - 17.10.2014

I don't think that you would need to make an array for such command.

You need to use SetTimer/SetTimerEx (depends on the usage) instead..