Help with /nametag command and /backup command?
#2

pawn Код:
if(strcmp("/names-off",cmdtext, true) == 0)
  {
      for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
      return GameTextForPlayer(playerid,"~w~nametags ~r~off",3000,3);
  }
  if(strcmp("/names-on", cmdtext, true) == 0)
  {
  for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, true);
  return GameTextForPlayer(playerid,"~w~nametags ~g~on",3000,3);
  }
  if(strcmp("/backup", cmdtext, true) == 0 || strcmp("/bk", cmdtext, true) == 0)
  {
    new est[128],e[MAX_PLAYER_NAME];
    GetPlayerName(playerid,e,MAX_PLAYER_NAME);
    format(est,128,"%s is need of backup! If you are on his team, please respond!",e);
    return SendClientMessageToAll(COLOR,est);
  }
Here you are.
Reply


Messages In This Thread
Help with /nametag command and /backup command? - by DeltaAirlines12 - 12.12.2009, 18:51
Re: Help with /nametag command and /backup command? - by _[HuN]_Epsilon_ - 12.12.2009, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)