[FilterScript] Leingod's Simple MessageBox v.1.0
#1

Le-TextDraw Message Box


Introduction:
Код:
This  is TextDraw Message Box that will show you 
player connect / disconnect / or your own message to show.
Credits:
Код:
-Me for make this.
-Sandra18[NL] I got little code from him.
-[MWR]Blood Helping me.
Bugs:
Код:
PM me if you found any bugs
Downloads:
Changelog:
Код:
-v.1.0
*Script Released

-v.2.0
*Added command to show / hide the messagebox
/showbox /hidebox

-v.3.0
*Removed show / hide command (BECAUSE BUGGED) maybe fixed on ver 4.0
*Added simple function to add Text Draw message (Thanks to [MWR]Blood)
*Added include version
*Clean script
Warning!
Код:
The command is using zcmd include Click here to download zcmd
Picts:


Ask me for further information..

How To Install:
Код:
FilterScript version:

1.Copy the code from download link below
2.Paste it on pawn compiler
3.Save as lemessage.pwn or what ever you want, then compile...
4.Add to your filterscript line on server.cfg
example= filterscript script1 script2 lemessage
5.Run your server and enjoy....

Include version:

1.Copy The code from download link below
2.Paste it on notepad / notepad++ / your own text editor
3.Save as lemessage.inc or what ever you want.. 
4.Open your filterscript / gamemode
5.Insert #include <lemessage> under the #include <a_samp>
6.Insert this call back:

LeTextDrawInit(); Under OnGameModeInit / OnFilterScriptInit
LeTextDrawExit(); Under OnGameModeExit / OnFilterScriptExit
LeTextDrawConnect(playerid); Under OnPlayerConnect
LeTextDrawDisconnect(playerid); Under OnPlayerDisconnect

7.Then add your own text draw message using SendLeMessage(playerid, text);
You can see the example under How to add new message:
How to add new message:
Код:
SendLeMessage(playerid, "blablablabla bla blabal balbalbala");

or

new string[128], playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername);
format(string, sizeof(string),"player %s is so stink", playername);
SendLeMessage(playerid, string);
Reply


Messages In This Thread
[Inc] Leingod's TextDraw Message Box UPDATED! - by leingod - 23.08.2011, 12:00
Re: Leingod's Simple MessageBox v.1.0 - by Rock_Ro - 23.08.2011, 12:04
Re: Leingod's Simple MessageBox v.1.0 - by leingod - 23.08.2011, 12:12
Re: Leingod's Simple MessageBox v.1.0 - by Kaperstone - 23.08.2011, 18:24
Re: Leingod's Simple MessageBox v.1.0 - by Zh3r0 - 23.08.2011, 18:43
Re: Leingod's Simple MessageBox v.1.0 - by Kaperstone - 23.08.2011, 20:28
Re: Leingod's Simple MessageBox v.1.0 - by Horrible - 23.08.2011, 22:27
Re: Leingod's Simple MessageBox v.1.0 - by Davz*|*Criss - 23.08.2011, 23:36
Re: Leingod's Simple MessageBox v.1.0 - by leingod - 24.08.2011, 03:51
Re: Leingod's Simple MessageBox v.1.0 - by opik - 24.08.2011, 06:50
Re: Leingod's Simple MessageBox v.1.0 - by leingod - 24.08.2011, 16:24
Re: Leingod's Simple MessageBox v.1.0 - by opik - 24.08.2011, 16:39
Re : Leingod's Simple MessageBox v.1.0 - by Naruto_Emilio - 24.08.2011, 22:17
Re: Leingod's Simple MessageBox v.1.0 - by Bumbis - 24.08.2011, 22:57
Re: Leingod's Simple MessageBox v.1.0 - by leingod - 25.08.2011, 03:57
Re: Leingod's Simple MessageBox v.1.0 - by [MWR]Blood - 04.09.2011, 18:59
Re: Leingod's Simple MessageBox v.1.0 - by leingod - 02.01.2012, 15:33
Re: Leingod's Simple MessageBox v.1.0 - by FearLe$$ - 23.06.2012, 03:30
Re: Leingod's Simple MessageBox v.1.0 - by pasha97 - 23.06.2012, 08:45
Re: Leingod's Simple MessageBox v.1.0 - by God'Z War - 28.09.2012, 22:20
Re: Leingod's Simple MessageBox v.1.0 - by NoahF - 28.09.2012, 22:23
Re: Leingod's Simple MessageBox v.1.0 - by ixesas - 10.10.2012, 13:04
Re: Leingod's Simple MessageBox v.1.0 - by qazwsx - 18.10.2013, 14:41
Re: Leingod's Simple MessageBox v.1.0 - by Plix - 18.10.2013, 14:45
Re: Leingod's Simple MessageBox v.1.0 - by Jole - 19.10.2013, 09:33

Forum Jump:


Users browsing this thread: 1 Guest(s)