SA-MP Forums Archive
Little Help With 3d Text - 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: Little Help With 3d Text (/showthread.php?tid=435342)



Little Help With 3d Text - Saleem - 06.05.2013

Hmmm i am New Comer On Samp and i start to making a server ( I'm also Learning Pwno But On Starting I Need Litte help )

Here Is The Problem i want to add 3dtextlebal On player head like when they type /mytext TEXT
then text will show on player Head

Like This text BUT ON HEAD




Re: Little Help With 3d Text - RaZzZzoR - 06.05.2013

Add this under OnPlayerText:
Код:
SetPlayerChatBubble( playerid, text, 0xFFFFFFFF, 200.0, 10000);



Re: Little Help With 3d Text - Saleem - 06.05.2013

how to make it like a command ?

/mytext Text ?

under OnPlayerCommandText


Re: Little Help With 3d Text - dominik523 - 06.05.2013

this is one way to do it:
Код:
CMD:mytext(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /mytext [text]");
	SetPlayerChatBubble( playerid, params, 0xFFFFFFFF, 200.0, 10000);
	return 1;
Also this type of command is zcmd. You can find more about it here if you like


Re: Little Help With 3d Text - Saleem - 07.05.2013

+1 rep

but its Not working


Re: Little Help With 3d Text - Saleem - 07.05.2013

Not working