[FilterScript] TextDrawTools - Simple TextDraw Displays - 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] TextDrawTools - Simple TextDraw Displays (
/showthread.php?tid=526918)
TextDrawTools - Simple TextDraw Displays -
Jack_Leslie - 20.07.2014
TextDrawTools
http://oi57.tinypic.com/5ev38o.jpg
This simple filterscript will display your server's name, server's script version, player's location, and global server time. It will also display a vehicle's name when a player gets in the drivers seat. The server name and version can be change in the define:
Code:
#define Servername "Fort Carson ~r~Roleplay"
#define Serverversion "v1.00.00"
It also has a command for admins to change the time (/settime), this time sets for every single player, and sets the global world time. The location text will not display when a player is inside to avoid confusion on players who don't understand interiors. I didn't find any bugs, there shouldn't be as it's just a small script. Although the FilterScript is not "reset friendly", so it does bug when you try and reload it or unload/load it with RCON, just remember that. Hope it's useful.
The global server time ticks over every 60 seconds and is the same for every player. It uses a timer instead of OnPlayerUpdate.
Pastebin:
http://pastebin.com/LD0u9g8W
Includes needed:
Code:
#include <zcmd>
#include <a_zones>
Re: TextDrawTools - Simple TextDraw Displays -
JonathanW - 20.07.2014
Simple but eh? Nice?
Re: TextDrawTools - Simple TextDraw Displays -
Jack_Leslie - 20.07.2014
Too simple, but I don't think TextDraws get used in the right way to be as efficient and effective as they can!
Re: TextDrawTools - Simple TextDraw Displays -
iFarbod - 20.07.2014
NOT Bad

Good job
Re: TextDrawTools - Simple TextDraw Displays -
Sojo12 - 20.07.2014
It can be usefull in some way.
Re: TextDrawTools - Simple TextDraw Displays -
ROXYhunter - 28.07.2014
Nice.. Good Job