Name of the player
#1

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/hunter", true) == 0)
{
SendClientMessageToAll(COLOR_SILVER, "Someone has gone to Hunter Battlefield.");
SetPlayerPos(playerid,8120.1440,-1640.9419,1902.4609);
return 1;
}



I want to make appear the name of the player instead of "Someone", what should i do?
Reply


Messages In This Thread
Name of the player - by Angelo94 - 05.11.2009, 15:21
Re: Name of the player - by Lajko1 - 05.11.2009, 15:26
Re: Name of the player - by Correlli - 05.11.2009, 15:44
Re: Name of the player - by Angelo94 - 05.11.2009, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)