Save name on connect
#1

Nevermind, i fixed it

Solution

pawn Код:
#define PlayerName(%0)    pName[%0]

new pName[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    new name[24];
    GetPlayerName(playerid, name, sizeof(name));
    format(pName[playerid], 24, name);
    return 1;
}
Reply


Messages In This Thread
Save name on connect - by Unknown123 - 17.06.2011, 14:14
Re: Save name on connect - by [DDC]Delight - 17.06.2011, 14:22
Re: Save name on connect - by Unknown123 - 17.06.2011, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)