|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: Mar 2011
Location: Indonesia, Balikpapan
Posts: 127
Reputation: 4
|
Le-TextDraw Message Box Introduction: Code:
This is TextDraw Message Box that will show you player connect / disconnect / or your own message to show. Code:
-Me for make this. -Sandra18[NL] I got little code from him. -[MWR]Blood Helping me. Code:
PM me if you found any bugs Code:
Older: -Pastebin v.1.0 -Pastebin v.2.0 NOT RECOMMENDED / BUGGED Newest: -Pastebin v.3.0 (FilterScript version) RECOMMENDED! -Pastebin v.3.0 (Include version) RECOMMENDED! Code:
-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! Code:
The command is using zcmd include Click here to download zcmd Picts: ![]() Ask me for further information.. How To Install: Code:
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: Code:
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); Last edited by leingod; 25/01/2012 at 05:42 AM. |
|
|
|
|
|
#2 |
|
Huge Clucker
Join Date: Mar 2011
Location: Los Santos
Posts: 281
Reputation: 1
|
Photos or something?
|
|
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Mar 2011
Location: Indonesia, Balikpapan
Posts: 127
Reputation: 4
|
|
|
|
|
|
|
#4 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2011
Location: Internet
Posts: 2,152
Reputation: 212
|
awasome
![]() thanks! |
|
|
|
|
|
#5 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2008
Posts: 5,617
Reputation: 380
|
I see you used all the code inside the callbacks, why not making a simple function, 1 line long?
|
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2011
Location: Internet
Posts: 2,152
Reputation: 212
|
can you explane me how do i add more lines..
like when player disconnect it will send a message: player has disconnected and all.. :\ |
|
|
|
|
|
#7 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Jun 2011
Location: Indonesia
Posts: 459
Reputation: 80
|
not bad
![]() 4/5 |
|
|
|
|
|
#8 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2011
Posts: 861
Reputation: 15
|
Nice
|
|
|
|
|
|
#9 | ||
|
Big Clucker
![]() ![]() Join Date: Mar 2011
Location: Indonesia, Balikpapan
Posts: 127
Reputation: 4
|
Quote:
![]() Quote:
![]() see above the picts ![]() Thanks ^__^ Thanks
|
||
|
|
|
|
|
#10 |
|
Little Clucker
![]() Join Date: May 2010
Posts: 13
Reputation: 0
|
Cool. but, can you make Command for Show and Hide the textdraw?.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FilterScript] Job Information MessageBox | Improvement™ | Filterscripts | 15 | 25/03/2013 11:27 AM |
| [FilterScript] Leingod's Team Chooser System. v.1.0 | leingod | Filterscripts | 6 | 28/09/2012 10:23 PM |
| Wie erstelle ich eine Messagebox? | DarkZero | Archive | 2 | 23/04/2011 02:30 AM |
| 1 Simple question So i want 1 simple answer | Jay. | Help Archive | 2 | 15/05/2010 12:16 PM |