Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Filterscript generated using Zamaroht's TextDraw Editor Version 1.0.
- Designed for SA-MP 0.3a.
- Time and Date: 2013-2-23 @ 0:1:59
- Instructions:
- 1- Compile this file using the compiler provided with the sa-mp server package.
- 2- Copy the .amx file to the filterscripts directory.
- 3- Add the filterscripts in the server.cfg file (more info here:
- http://wiki.sa-mp.com/wiki/Server.cfg)
- 4- Run the server!
- Disclaimer:
- You have full rights over this file. You can distribute it, modify it, and
- change it as much as you want, without having to give any special credits.
- */
- #include <a_samp>
- new Text:Textdraw0;
- new Text:Textdraw1;
- public OnFilterScriptInit()
- {
- print("Textdraw file generated by");
- print(" Zamaroht's textdraw editor was loaded.");
- // Create the textdraws:
- Textdraw0 = TextDrawCreate(521.000000, 376.000000, "Zone Extreme");
- TextDrawBackgroundColor(Textdraw0, 255);
- TextDrawFont(Textdraw0, 3);
- TextDrawLetterSize(Textdraw0, 0.340000, 2.499999);
- TextDrawColor(Textdraw0, 16711935);
- TextDrawSetOutline(Textdraw0, 1);
- TextDrawSetProportional(Textdraw0, 1);
- TextDrawSetSelectable(Textdraw0, 0);
- Textdraw1 = TextDrawCreate(549.000000, 402.000000, "Freeroam");
- TextDrawBackgroundColor(Textdraw1, 255);
- TextDrawFont(Textdraw1, 3);
- TextDrawLetterSize(Textdraw1, 0.500000, 1.700000);
- TextDrawColor(Textdraw1, -16776961);
- TextDrawSetOutline(Textdraw1, 1);
- TextDrawSetProportional(Textdraw1, 1);
- TextDrawSetSelectable(Textdraw1, 0);
- for(new i; i < MAX_PLAYERS; i ++)
- {
- if(IsPlayerConnected(i))
- {
- TextDrawShowForPlayer(i, Textdraw0);
- TextDrawShowForPlayer(i, Textdraw1);
- }
- }
- return 1;
- }
- public OnFilterScriptExit()
- {
- TextDrawHideForAll(Textdraw0);
- TextDrawDestroy(Textdraw0);
- TextDrawHideForAll(Textdraw1);
- TextDrawDestroy(Textdraw1);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TextDrawShowForPlayer(playerid, Textdraw0);
- TextDrawShowForPlayer(playerid, Textdraw1);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment