[Ajuda] TextDrawCreate
#3

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);
}
Atenciosamente,
Reply


Messages In This Thread
TextDrawCreate - by chefaoBR - 24.06.2014, 19:19
Re: TextDrawCreate - by zPain - 24.06.2014, 19:20
Re: TextDrawCreate - by [BWL]Chamaleon - 25.06.2014, 00:38

Forum Jump:


Users browsing this thread: 2 Guest(s)