format(string, sizeof(string), "|__________ Informaзхes de %s __________|", getPName(id));
SCM(playerid, COR_BRANCO,string);
new ip[24];
new Float:health;
new Float:armour;
new ammo = GetPlayerAmmo(id);
new ping = GetPlayerPing(id);
new money = GetPlayerMoney(id);
new level = GetPlayerScore(id);
new VIP[24];
if(Player[id][pVIP] >= 1) VIP = "Sim";
else VIP = "Nгo";
GetPlayerHealth(id,health);
GetPlayerArmour(id,armour);
GetPlayerIp(id, ip, sizeof ip);
format(string, sizeof(string), "IP: %s", ip);
SCM(playerid, 0xE3E3E3FF,string);
format(string, sizeof(string), "Level: %d", level);
SCM(playerid, 0xE3E3E3FF,string);
format(string, sizeof(string), "Vida: %.1f", health);
SCM(playerid, 0xE3E3E3FF,string);
format(string, sizeof(string), "Colete: %.1f", armour);
SCM(playerid, 0xE3E3E3FF,string);
format(string, sizeof(string), "Muniзгo da arma na mгo: %d", ammo);
SCM(playerid, 0xE3E3E3FF,string);
format(string, sizeof(string), "Ping: %d", ping);
SCM(playerid, 0xE3E3E3FF,string);
format(string, sizeof(string), "Dinheiro: %d", money);
SCM(playerid, 0xE3E3E3FF,string);
format(string, sizeof(string), "VIP? %s", VIP);
SCM(playerid, 0xE3E3E3FF,string);
return 1;
}
TextDraw Font: 4 TextDraw String/Text: BIBLIOTECA:nome_do_componente TextDraw Box: On -> Mudar tamanho da box pra Ajustar o Sprite Ferramenta Que eu uso pra consultar Bibliotecas e Componentes (TXD Workshop): |
new string[20]; //Define a variбvel de texto
format(string, sizeof(string), "IP: %s", ip);
TextDrawSetString(textdraw, string); //Atribui a string definida anteriormente para a(o) textdraw
TextDrawShowForPlayer(playerid, textdraw); //Vai mostrar a(o) textdraw com a string jб atribuнda a ele para o jogador
tem algo contra? ele pode sim criar uma TD com o RG do player
|