05.11.2009, 15:21
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?
{
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?