[Ajuda] Warnings no GM
#1

Ola, antes de me criticar por vir aqui pedir ajuda , vou logo dizendo que ja resolvi 3 erros no mesmo codigo , mais ficou esses 3 warnings que nao consigo retirar, entao quem puder me ajudar , eu agradeceria


Warnings :

PHP код:
C:\Users\moises\Desktop\GM FANTASTIC WORLD\SFGANGSN3XT.pwn(3161) : warning 219local variable "stringx" shadows a variable at a preceding level
C
:\Users\moises\Desktop\GM FANTASTIC WORLD\SFGANGSN3XT.pwn(420) : warning 204symbol is assigned a value that is never used"MSGTimer"
C:\Users\moises\Desktop\GM FANTASTIC WORLD\SFGANGSN3XT.pwn(420 -- 4014) : warning 203symbol is never used"StringTable"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
3 Warnings

AS WARNINGS ESTAO NESSAS LINHAS ::

PHP код:
MSGTimer SetTimer("RandomMSGs",150000,1);
//E NESTAS AKI , QUE ESTAO NO FIM DO GM
public RandomMSGs()
{
new 
random1 random(sizeof(MSGs));
new 
random2 random(sizeof(COLORS));
format(stringxsizeof(stringx), "%s"MSGs[random1]);
SendClientMessageToAll(COLORS[random2],stringx);
return 
1;

E TAMBEM ...

PHP код:
if (strcmp("/mudar"cmdtexttrue10) == 0)
{
new 
Nome[MAX_PLAYER_NAME];
new 
stringx[256];  // warning esta nesta linha <<<
GetPlayerName(playerid,Nome,sizeof Nome);
format(stringxsizeof stringx,  "%s FOI MUDAR DE GANG {FF0000}( /MUDAR )",Nome);
SendClientMessageToAll(0xFFFF00FF,stringx);
ForceClassSelection(playerid); //--- isso que faz o player voltar na seleзгo de skin igual apertar "F4"
SetPlayerHealth(playerid0);
return 
1;

Reply


Messages In This Thread
Warnings no GM - by N3XTMapper - 08.10.2013, 17:36
Re: Warnings no GM - by ThuuGLif3 - 08.10.2013, 17:40
Re: Warnings no GM - by N3XTMapper - 08.10.2013, 17:43
Re: Warnings no GM - by Duduzinho - 08.10.2013, 17:47
Re: Warnings no GM - by Zivo - 08.10.2013, 17:50
Re: Warnings no GM - by N3XTMapper - 08.10.2013, 17:50
Re: Warnings no GM - by N3XTMapper - 08.10.2013, 17:52
Re: Warnings no GM - by Duduzinho - 08.10.2013, 17:53
Re: Warnings no GM - by ThuuGLif3 - 08.10.2013, 17:53
Re: Warnings no GM - by PT - 08.10.2013, 17:56

Forum Jump:


Users browsing this thread: 2 Guest(s)