[Ajuda] Warnings
#1

alguem me ajuda nessas warnings?


pawn Код:
C:\Users\Carlos\Desktop\MEU GM\pawno\include\dof2.inc(1283) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Carlos\Desktop\MEU GM\pawno\include\dof2.inc(1314) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Carlos\Desktop\MEU GM\pawno\include\dof2.inc(1337) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:          11416 bytes
Code size:           569240 bytes
Data size:          1814644 bytes
Stack/heap size:      65536 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 2460836 bytes

3 Warnings.
Reply
#2

passa linhas
Reply
#3

Basta excluir a variбvel local, pois ela jб existe ela globalmente.
Reply
#4

pawn Код:
}
                }
                else{
                SetPlayerColor(playerid, Cores[random(sizeof(Cores))]);
                }
            }else{
                SetPlayerColor(playerid, Cores[random(sizeof(Cores))]);
            }


        }

        return true;
    }
Reply
#5

No comeзo do GameMode ou do FilterScript tem uma variбvel global denominada de string. Basta excluir!

Exemplo:
PHP код:
new string[128];
function 
OnPlayerConnect(playerid) {
    new 
string[128];
    return 
1;


Vocк deverб excluir a da callback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)