#2

Код:
//using zcmd
COMMAND:me(playerid, params[])
{
	new pName[MAX_PLAYER_NAME+1], Out[100];
	GetPlayerName(playerid, pName, MAX_PLAYER_NAME+1);
	
	format(Out, sizeof( Out ), "Hello, this is %s speaking!", pName);
	SendClientMessageForAll(-1, Out);
        return true;
}
pName stores name of player with id of playerid
Greetings
Reply


Messages In This Thread
Name - by nezo2001 - 27.12.2014, 20:06
Re: Name - by LetsOWN[PL] - 27.12.2014, 20:13
Re: Name - by nezo2001 - 27.12.2014, 20:19
Re: Name - by LetsOWN[PL] - 27.12.2014, 20:35
AW: Name - by CutX - 27.12.2014, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)