Radio texts above your character. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Radio texts above your character. (
/showthread.php?tid=369159)
Radio texts above your character. -
fuem1907 - 16.08.2012
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.
Re: Radio texts above your character. -
Kaperstone - 16.08.2012
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)
Re: Radio texts above your character. -
fuem1907 - 16.08.2012
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 :=)
Re : Radio texts above your character. -
Naruto_Emilio - 16.08.2012
https://sampwiki.blast.hk/wiki/SetPlayerChatBubble
Re: Radio texts above your character. -
ThePhenix - 16.08.2012
Example of SetPlayerChatBubble
pawn Код:
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, "[ I'm newbie here ]", COLOR_RED, 30.0,60000);
return 1;
}