Returning your name
#5

^ Like luis said.
Example:
pawn Code:
new pName[MAX_PLAYER_NAME],szString[64]; // Defining pName and String
GetPlayerName(playerid,pName,sizeof(pName)); // Getting player name
format(szString,sizeof(szString),"* %s", pName); // formatting the message
SendClientMessage(playerid,-1,szString); // and here we are sending the message to player with the string we formatted
EDIT: late.
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)