Tag vip [Consulta] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Tag vip [Consulta] (
/showthread.php?tid=556450)
Tag vip [Consulta] -
R4ngox - 10.01.2015
Hola amigos, me preguntaba como podria poner un TAG a todos los vip alado del nombre.
aqui un imagen:
mis variable es
pawn Код:
enum PlayerData
{
pVip,
}
PlayerInfo[playerid][pVip] = 0;
if(PlayerInfo[playerid][pVip] >= 1) {
new chat[130];
format(chat, sizeof(chat), "{FFFFFF}[%d]: {FFFFFF}%s", playerid, text);
SendPlayerMessageToAll(playerid,chat);
SetPlayerChatBubble(playerid, text, yellow, 100.0, 10000);
return 0;
}
gracias.
Respuesta: Tag vip [Consulta] -
jotajeda - 10.01.2015
Creo que es con 3dtext
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Respuesta: Tag vip [Consulta] -
Zodiaco - 10.01.2015
Quote:
Originally Posted by jotajeda
|
Tu crees que asi puede estar correcto.
pawn Код:
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
if( PlayerInfo[i][pVip] == 1 || PlayerInfo[i][pVip] == 2 || PlayerInfo[i][pVip] == 3 || PlayerInfo[i][pVip] == 4 || PlayerInfo[i][pVip] == 5)
{
new Text3D:label = Create3DTextLabel("Vip", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
return 1;
}
XDD
Respuesta: Tag vip [Consulta] -
jotajeda - 12.01.2015
Quote:
Originally Posted by Zodiaco
Tu crees que asi puede estar correcto.
pawn Код:
GetPlayerName(playerid, pName, MAX_PLAYER_NAME); if( PlayerInfo[i][pVip] == 1 || PlayerInfo[i][pVip] == 2 || PlayerInfo[i][pVip] == 3 || PlayerInfo[i][pVip] == 4 || PlayerInfo[i][pVip] == 5) { new Text3D:label = Create3DTextLabel("Vip", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7); } return 1; }
XDD
|
Si pero debe de ser
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel , para cada player. tu codigo si se ve bien, pero ten en cuenta que debe de ser alado del nombre las coordenadas.
Respuesta: Tag vip [Consulta] -
OTACON - 12.01.2015
https://sampforum.blast.hk/showthread.php?tid=486435
Respuesta: Tag vip [Consulta] -
Zodiaco - 12.01.2015
Quote:
Originally Posted by jotajeda
|
mm seria asi
pawn Код:
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
if( PlayerInfo[i][pVip] == 1 || PlayerInfo[i][pVip] == 2 || PlayerInfo[i][pVip] == 3 || PlayerInfo[i][pVip] == 4 || PlayerInfo[i][pVip] == 5)
{
new Text3D:label = CreatePlayer3DTextLabel("Vip", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
return 1;
}
de las coordenas en los nombres ahi si me perdi