[HELP]with creating stock.
#7

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;
}
Reply


Messages In This Thread
[HELP]with creating stock. - by anito - 03.09.2012, 06:17
Re: [HELP]with creating stock. - by Jarnu - 03.09.2012, 06:24
Re: [HELP]with creating stock. - by anito - 03.09.2012, 06:29
Re: [HELP]with creating stock. - by Jarnu - 03.09.2012, 06:34
Re: [HELP]with creating stock. - by anito - 03.09.2012, 06:52
Re: [HELP]with creating stock. - by Slice - 03.09.2012, 06:55
Re: [HELP]with creating stock. - by anito - 03.09.2012, 07:05
Re: [HELP]with creating stock. - by Jarnu - 03.09.2012, 07:18
Re: [HELP]with creating stock. - by anito - 03.09.2012, 07:37
Re: [HELP]with creating stock. - by Misiur - 03.09.2012, 07:40

Forum Jump:


Users browsing this thread: 1 Guest(s)