How to actoully get a players name?
#1

I am currently using a stock from VXRP, GetName but I want to know how I can just get an actoull name on a command, if you understand..

Heres the stock
PHP код:
stock GetName(playerid)
{
    new 
Name[MAX_PLAYER_NAME];
    if(
IsPlayerConnected(playerid))
    {
        
GetPlayerName(playeridNamesizeof(Name));
    }
    else
    {
        
Name "Disconnected/Nothing";
    }
    return 
Name;

But I want to know how to do that in a command..
Reply


Messages In This Thread
How to actoully get a players name? - by Azzeto - 14.10.2011, 07:20
Re: How to actoully get a players name? - by Wesley221 - 14.10.2011, 07:35
Re: How to actoully get a players name? - by Tomejus - 14.10.2011, 07:47
Re: How to actoully get a players name? - by Wesley221 - 14.10.2011, 07:49
Re: How to actoully get a players name? - by Azzeto - 14.10.2011, 08:21

Forum Jump:


Users browsing this thread: 1 Guest(s)