[Ajuda] warning 219: local variable "pname"
#1

Como retiro esses avisos ??

PHP код:
C:\Users\Matheus-PC\Desktop\Iniciante.pwn(642) : warning 219local variable "pname" shadows a variable at a preceding level
C
:\Users\Matheus-PC\Desktop\Iniciante.pwn(658) : warning 219local variable "pname" shadows a variable at a preceding level
C
:\Users\Matheus-PC\Desktop\Iniciante.pwn(727) : warning 203symbol is never used"pname"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
3 Warnings

Quem puder ajudar, agradeзo!
Reply
#2

Jб tem uma/ou mais variбveis com o mesmo nome mude ou apaga.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=252966
Reply
#4

Como Assim ?? nгo entendi man :/

Quote:
Originally Posted by BreakDriFT
Посмотреть сообщение
Jб tem uma/ou mais variбveis com o mesmo nome mude ou apaga.
Reply
#5

manda o codigo
a variavel eos
new pname
Reply
#6

SГO ESSES CУDIGOS AI

// ============ Coloque Os News Aqui ==============
new pname[MAX_PLAYER_NAME];
new count1 = 0;
new ServidorNome[0][128] = {
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"Visite nosso Fуrum: WwW.GamingFoxBrasil.Tk",
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"Visite nosso Fуrum: WwW.GamingFoxBrasil.Tk",
"» GNB - Gaming Fox Brasil ® (0.3x) «"

};



// ================================================== ===========================
public NomeServer()
{
count1++; if(count1 > 4)count1 = 0;
new string[128];
format(string, sizeof(string), "hostname %s", ServidorNome[count1]);
SendRconCommand(string);
}
Reply
#7

Код:
// ============ Coloque Os News Aqui ==============
new count1 = 0;
new ServidorNome[0][128] = {
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"Visite nosso Fуrum: WwW.GamingFoxBrasil.Tk",
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"Visite nosso Fуrum: WwW.GamingFoxBrasil.Tk",
"» GNB - Gaming Fox Brasil ® (0.3x) «"

};



// ================================================== ===========================
public NomeServer()
{
count1++; if(count1 > 4)count1 = 0;
new string[128];
format(string, sizeof(string), "hostname %s", ServidorNome[count1]);
SendRconCommand(string);
}
Reply
#8

Vlw Andre
Quote:
Originally Posted by eDlAndrePawno
Посмотреть сообщение
Код:
// ============ Coloque Os News Aqui ==============
new count1 = 0;
new ServidorNome[0][128] = {
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"Visite nosso Fуrum: WwW.GamingFoxBrasil.Tk",
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"» GNB - Gaming Fox Brasil ® (0.3x) «",
"Visite nosso Fуrum: WwW.GamingFoxBrasil.Tk",
"» GNB - Gaming Fox Brasil ® (0.3x) «"

};



// ================================================== ===========================
public NomeServer()
{
count1++; if(count1 > 4)count1 = 0;
new string[128];
format(string, sizeof(string), "hostname %s", ServidorNome[count1]);
SendRconCommand(string);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)