02.04.2012, 12:38
Hello I got a little problem with my script...
and this is what I got on the error line:
pawn Код:
local variable "Name" shadows a variable at a preceding level
pawn Код:
stock GetName(playerid)
{
new Name[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, Name, sizeof(Name));
}
else
{
Name = "Disconnected/Nothing";
}
return Name;
}