[FilterScript] Simple Textdraw message box. - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Simple Textdraw message box. (
/showthread.php?tid=364658)
Simple Textdraw message box. -
V_LOPE - 31.07.2012
Hey there,
well, after my long inactive i'm back with my new simple Filter script.
How To use
pawn Code:
//------Example-------//
public OnPlayerConnect(playerid)
{
new string[128],name[24];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"%s has ~g~joined ~w~the server.",name);
SendBoxMsg(string);
return 1;
}
all you have to do is making format message then use SendBoxMsg.
Commands
pawn Code:
//========For Admins=======//
/clearbox > to clear box messages
//========For Players=======//
/boxchat > for chatting in the box > you can change it for admins
Pictures
Downloads
http://www.solidfiles.com/d/2ebcd54a69/
http://pastebin.com/AMbEZLJ8
Bugs
none for now, find one? report it in this topic.
Warnings
you need Zeex's Processor.
https://sampforum.blast.hk/showthread.php?tid=91354
Re: Simple Textdraw message box. -
Majed - 31.07.2012
Oh nice Simple Connect message

..
I use like this
Code:
public OnPlayerConnect(playerid)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"%s has joined Stunt Planet",pName);
SendClientMessageToAll(COLOR_LIGHTBLUE,string);
LabelActive[playerid] = false;
return 1;
}
Re: Simple Textdraw message box. -
V_LOPE - 31.07.2012
@majed, lol this is not only for connecting messages..
you can make it for every format message you want
Re: Simple Textdraw message box. -
Littlehelper - 31.07.2012
Its nice!
EDIT: let me tell you what mate, this could be done easily with single textdraw, but nice as your first release.
Re: Simple Textdraw message box. -
XStormiest - 31.07.2012
hm nice i see you use Zamaroht's textdraw creator, easy ...

but good job