Need help with ShowPlayerNameTagForPlayer
#4

pawn Код:
if(strcmp("/usemask", cmdtext, true) == 0)
  {
      if(PlayerInfo[playerid][pMask] == 0) return SendClientMessage(playerid, COLOR_GREY, "You don't have a Mask ! You can get one from 24/7 shop nearby Police HQ.");
      // why a { here?
      for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
      SendClientMessage(playerid, COLOR_LIGHTBLUE, "You've put your mask on, /leavemask to take it off");
      // why a } here?
  }
    return 1;
}
pawn Код:
if(strcmp("/leavemask", cmdtext, true) == 0)
  {
      if(PlayerInfo[playerid][pMask] == 1) return SendClientMessage(playerid, COLOR_GREY, "You don't have a Mask ! You can get one from 24/7 shop nearby Police HQ");
      // why a { here?
      for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, true);
      SendClientMessage(playerid, COLOR_LIGHTBLUE, "You've put your mask on, /leavemask to take it off");
      // why a } here?
  }
    return 1;
}
Reply


Messages In This Thread
Need help with ShowPlayerNameTagForPlayer - by *ToM* - 11.01.2010, 19:02
Re: Need help with ShowPlayerNameTagForPlayer - by MaykoX - 11.01.2010, 19:07
Re: Need help with ShowPlayerNameTagForPlayer - by *ToM* - 11.01.2010, 19:14
Re: Need help with ShowPlayerNameTagForPlayer - by GTAguillaume - 11.01.2010, 19:15
Re: Need help with ShowPlayerNameTagForPlayer - by *ToM* - 11.01.2010, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)