Vip tag problem , plz help!
#3

Just add a simple variable.
pawn Код:
new bool: isVIP[MAX_PLAYERS] = {false, ...};

  if(APlayerData[playerid][PlayerLevel] >= 1 && !isVIP[playerid])
{
    new oldname[MAX_PLAYER_NAME], newname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, oldname, sizeof oldname);
    format(newname, sizeof newname, "[VIP]%s", oldname);
    SetPlayerName(playerid, newname);
    SetPlayerColor(playerid, 0xFFFF00AA);
    isVIP[playerid] = true;
}
    return 1;
   }
Reply


Messages In This Thread
Vip tag problem , plz help! - by Baumann - 11.08.2013, 18:02
Re: Vip tag problem , plz help! - by Baumann - 11.08.2013, 18:14
Re: Vip tag problem , plz help! - by [XST]O_x - 11.08.2013, 18:40
Re: Vip tag problem , plz help! - by Baumann - 11.08.2013, 18:48
Re: Vip tag problem , plz help! - by Baumann - 11.08.2013, 19:22
Re: Vip tag problem , plz help! - by PrinceKumar - 11.08.2013, 19:44
Re: Vip tag problem , plz help! - by Baumann - 12.08.2013, 05:56

Forum Jump:


Users browsing this thread: 1 Guest(s)