[Ajuda] Um Errinho Aqui Galera ! Ajuda Aqui
#1

Erro:
Quote:

D:\Usuarios\Desktop\samp03csvr_R2-2_win32\gamemodes\sb1.pwn(4200) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
D:\Usuarios\Desktop\samp03csvr_R2-2_win32\gamemodes\sb1.pwn(4222) : warning 219: local variable "PlayerName" shadows a variable at a preceding level

Pawno:
Quote:

new PlayerName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(string, sizeof(string), "%s entrou no servidor.", PlayerName);

Agradeзo Desde Jб !
Reply
#2

Apague: "new PlayerName[MAX_PLAYER_NAME];"
Reply
#3

pawn Код:
new NomeP[MAX_PLAYER_NAME];
new string[44];
GetPlayerName(playerid,NomeP, sizeof(NomeP));
format(string, sizeof(string), "%s entrou no servidor.",NomeP);
deve ser algum conflito tente. (Cynic respondeu quando eu estava fazendo o post desculpem.)
Reply
#4

pawn Код:
new iName[24], iString[48];
GetPlayerName(playerid, iName, 24);
format(iString, sizeof(iString), "%s entrou no servidor.", iName);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)