25.06.2014, 00:38
pawn Код:
Textdraw18 = TextDrawCreate(26.000000, 433.000000, " ");
TextDrawBackgroundColor(Textdraw18, 255);
TextDrawFont(Textdraw18, 1);
TextDrawLetterSize(Textdraw18, 0.500000, 1.600000);
TextDrawColor(Textdraw18, -1);
TextDrawSetOutline(Textdraw18, 1);
TextDrawSetProportional(Textdraw18, 1);
new string[256];
for (new i=0;i< MAX_PLAYERS;i++){
new nomepl[MAX_PLAYER_NAME];
GetPlayerName(i, nomepl, sizeof(nomepl));
new textvip[64];
if(VariavelVIP[i] == 1) { textvip= "Sim"; } // Coloquei sua variбvel de player vip, tipo PlayerInfo[i][pVip]
if(VariavelVIP[i] == 0) { textvip= "Nao"; }
format(string, sizeof(string), "~R~%s ~g~[ID: %d] ~y~[VIP: %s]",nomepl,i,textvip);
TextDrawSetString(Textdraw18, string);
}