Texto acima da skin -
Emanuel17 - 28.06.2013
Eae.
Preciso muito da vossa ajuda. Sim eu sei que muitos dizem "use o search" mas eu jб procurei muito atй procurei em Inglкs mas nunca encontrei.
Eu queria colocar um texto acima da skin. Por exemplo se um Player foi Admin Nнvel 1 ele fica com o nome acima da skin a dizer por exemplo "Administrador".
Se alguйm souber como eu faзo isso me ajuda pfv.
Vlw.
Re: Texto acima da skin -
iHarzard - 28.06.2013
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Re: Texto acima da skin -
iFox - 28.06.2013
https://sampwiki.blast.hk/wiki/SetPlayerChatBubble
Re: Texto acima da skin -
Standby - 28.06.2013
Ta aqui um exemplo
pawn Код:
//Aqui vocк ponha se e administrador
{
new Text3D:label = Create3DTextLabel("Administrador(a)", 0x99FFFFAA, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
Re: Texto acima da skin -
Emanuel17 - 28.06.2013
Vlw iHarzard e Standby consegui +reputaзгo.
Agora sу tem um problema e coloquei na public onplayerconnect mas quando o server reinicia quando o jogador connecta ele ja nao fica com o texto de admin e tenho que dar de novo. Eu tenho que colocar em outra public ou o que tenho que fazer ?
Re: Texto acima da skin -
Knight97 - 28.06.2013
Quote:
Originally Posted by Emanuel17
Vlw iHarzard e Standby consegui +reputaзгo.
Agora sу tem um problema e coloquei na public onplayerconnect mas quando o server reinicia quando o jogador connecta ele ja nao fica com o texto de admin e tenho que dar de novo. Eu tenho que colocar em outra public ou o que tenho que fazer ?
|
Mande o sistema para eu ver, se puder.
Re: Texto acima da skin -
Emanuel17 - 29.06.2013
pawn Код:
if(pAdmin[playerid] == 2)
{
new Text3D:label = Create3DTextLabel("Ajudante", 0xFFFF00FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(pAdmin[playerid] == 3)
{
new Text3D:label = Create3DTextLabel("Moderador(a)", 0xFFA500FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(pAdmin[playerid] == 4)
{
new Text3D:label = Create3DTextLabel("Administrador(a)", 0x1E90FFFF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
if(pAdmin[playerid] == 5)
{
new Text3D:label = Create3DTextLabel("Staff", 0x00FF00FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
ta ae
Re: Texto acima da skin -
Standby - 29.06.2013
isso vai em
lembrando
Re: Texto acima da skin -
dPlaYer_ - 29.06.2013
Tae tio, um tutorial que fiz um tempo atrбs.
https://sampforum.blast.hk/showthread.php?tid=334784