Skripta koju koristim: UP editovan
Detaljan opis problema: kako da stavim da ono npr adminu pise iznad glave Admin lvl1 itd ako neko moze kodove da stavi dolje
Dio skripte: //
Neke slike/video za lakse dobivanje pomoci(neobavezno): ///
evo ga: https://wiki.sa-mp.com/wiki/SetPlayerChatBubble
Pokusaj ovako nesto
[pawn]
public OnPlayerText(playerid, text[])
{
if(PlayerInfo[pAdmin] == 1)
{
SetPlayerChatBubble(i, "[ Admin level 1 ]", 0xC2A2DAAA, 30.0,60000);
}
else if(PlayerInfo[pAdmin] == 2)
{
SetPlayerChatBubble(i, "[ Admin level 2 ]", 0xC2A2DAAA, 30.0,60000);
}
else if(PlayerInfo[pAdmin] == 3)
{
SetPlayerChatBubble(i, "[ Admin level 3 ]", 0xC2A2DAAA, 30.0,60000);
}
else if(PlayerInfo[pAdmin] == 4)
{
SetPlayerChatBubble(i, "[ Admin level 4 ]", 0xC2A2DAAA, 30.0,60000);
}
else if(PlayerInfo[pAdmin] == 5)
{
SetPlayerChatBubble(i, "[ Admin level 5 ]", 0xC2A2DAAA, 30.0,60000);
}
else if(PlayerInfo[pAdmin] == 6)
{
SetPlayerChatBubble(i, "[ Vlasnik ]", 0xC2A2DAAA, 30.0,60000);
}
return 1;
}[/pawn]
reci ako bude imalo nekih errora ili necega
Nije tražio chat bubble, nego 3d text verovatno.
https://wiki.sa-mp.com/wiki/Create3DTextLabel
https://wiki.sa-mp.com/wiki/Attach3DTextLabelToPlayer