03.09.2012, 07:05
Yea.
Код:
warning 219: local variable "pName" shadows a variable at a preceding level warning 219: local variable "id" shadows a variable at a preceding level warning 219: local variable "gName" shadows a variable at a preceding level warning 203: symbol is never used: "id"
pawn Код:
stock pName(playerid)
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
return pName;
}
/*============================================================================*/
stock gName(id)
{
new id, gName[MAX_PLAYER_NAME];
GetPlayerName(id, gName, sizeof(gName));
return gName;
}