SA-MP Forums Archive
A litle help!! - 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: A litle help!! (/showthread.php?tid=213924)



A litle help!! - Janek17 - 20.01.2011

Код:
C:\Users\Janek\Desktop\Next Deathmach [0.3c]\gamemodes\NDM.pwn(301) : warning 204: symbol is assigned a value that is never used: "string"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Код:
 new name[MAX_PLAYER_NAME], file[256], string[128];
HELP PLEASEE!!!


Re: A litle help!! - iggy1 - 20.01.2011

EDIT: Actually post the code where you assign a value to string. You don't realy have to do anything your code should work even with this warning. The warning is because you give string a value but never use it.


Re: A litle help!! - Elviss - 20.01.2011

try this
pawn Код:
new name[MAX_PLAYER_NAME], file[256];



Re: A litle help!! - Mike Garber - 20.01.2011

Quote:
Originally Posted by Janek17
Посмотреть сообщение
Код:
C:\Users\Janek\Desktop\Next Deathmach [0.3c]\gamemodes\NDM.pwn(301) : warning 204: symbol is assigned a value that is never used: "string"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Код:
 new name[MAX_PLAYER_NAME], file[256], string[128];
HELP PLEASEE!!!
Its because the symbol is assigned a value that is never used.