Radio texts above your character.
#1

Hello there, let me explain what i request;

In a RP situtation, when someone talks near to you, you hear what he say, and you act when you hear it. Basically, when he types somethings from /r or /wt it appears above your character. In my current server, it doesn't. Can someone help me?

/wt = Walkie talkie cmd for regular users that bought walkie talkie from market
/r = Radio cmd for factions

Thank you from now.
Reply
#2

because its a command.
use this to make a text above head thingy -
https://sampwiki.blast.hk/wiki/Create3DTextLabel
and use this function to attach the 3d text to player -
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer

P.S. use array to store the text label id(s)
Reply
#3

My english language is kinda bad, could you send me it as a code? I'm not good with pawno also. I just know how to copy lol. Just tell me what you need to know :=)
Reply
#4

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble
Reply
#5

Example of SetPlayerChatBubble

pawn Код:
public OnPlayerText(playerid, text[])
{
    SetPlayerChatBubble(playerid, "[ I'm newbie here ]", COLOR_RED, 30.0,60000);

    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)