Returning your name
#4

Quote:
Originally Posted by Luis-
View Post
Try, GetPlayerName
I'm stupid. I forgot about that function, thanks.

Quote:
Originally Posted by [uL]Pottus
View Post
pawn Code:
CMD:myname(playerid, arg[])
{
    new myname[MAX_PLAYER_NAME];
    new line[64];
    GetPlayerName(playerid, myname, MAX_PLAYER_NAME);
    format(line, sizeof(line), "Your name is %s", myname);
    SendClientMessage(playerid, 0xFF00FFFF, line);
    return 1;
}
Cheers!
Reply


Messages In This Thread
Returning your name - by ConnorP - 22.05.2013, 19:25
Re: Returning your name - by Luis- - 22.05.2013, 19:28
Re: Returning your name - by Pottus - 22.05.2013, 19:29
Re: Returning your name - by ConnorP - 22.05.2013, 19:29
Re: Returning your name - by Littlehelper - 22.05.2013, 19:30
Re: Returning your name - by Rayan_black - 22.05.2013, 19:34
Re: Returning your name - by Pottus - 22.05.2013, 19:39
Re: Returning your name - by Rayan_black - 22.05.2013, 19:43
Re: Returning your name - by Pottus - 22.05.2013, 19:48
Re: Returning your name - by ConnorP - 22.05.2013, 20:10

Forum Jump:


Users browsing this thread: 1 Guest(s)