Advertisement
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: 2017-7-14 @ 3:52:55
- 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:Textdraww8;
- public OnFilterScriptInit()
- {
- print("Textdraw file generated by");
- print(" Zamaroht's textdraw editor was loaded.");
- // Create the textdraws:
- Textdraww8 = TextDrawCreate(317.000000, 309.000000, "0$");
- TextDrawAlignment(Textdraww8, 2);
- TextDrawBackgroundColor(Textdraww8, 255);
- TextDrawFont(Textdraww8, 1);
- TextDrawLetterSize(Textdraww8, 0.500000, 1.400000);
- TextDrawColor(Textdraww8, -1);
- TextDrawSetOutline(Textdraww8, 0);
- TextDrawSetProportional(Textdraww8, 1);
- TextDrawSetShadow(Textdraww8, 1);
- TextDrawUseBox(Textdraww8, 1);
- TextDrawBoxColor(Textdraww8, 255);
- TextDrawTextSize(Textdraww8, 0.000000, 277.000000);
- TextDrawSetSelectable(Textdraww8, 0);
- TextDrawBoxColor(Textdraww8, 0x00000070 );
- TextDrawBackgroundColor(Textdraww8, 0x00000070);
- for(new i; i < MAX_PLAYERS; i ++)
- {
- if(IsPlayerConnected(i))
- {
- TextDrawShowForPlayer(i, Textdraww8);
- }
- }
- return 1;
- }
- public OnFilterScriptExit()
- {
- TextDrawHideForAll(Textdraww8);
- TextDrawDestroy(Textdraww8);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TextDrawShowForPlayer(playerid, Textdraww8);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement