Name of the player
#2

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if (strcmp(cmdtext, "/hunter", true) == 0)
  {
  new playername[MAX_PLAYER_NAME];
  GetPlayerName(playerid, playername, MAX_PLAYER_NAME);

  format(string, sizeof(string), "%s[%d] Has Joined (your zone)",playername,playerid);
  SendClientMessage(playerid,0x33CCFFAA,string);

  SetPlayerPos(playerid,8120.1440,-1640.9419,1902.4609);
   return 1;
  }
i think it should be like this but i am not 100% cuz i dont test ^^
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)