Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- new Text:Textdraw0;
- public OnFilterScriptInit()
- {
- Textdraw0 = TextDrawCreate(457.000000, 1.000000, "Your Text Here");
- TextDrawBackgroundColor(Textdraw0, 255);
- TextDrawFont(Textdraw0, 0);
- TextDrawLetterSize(Textdraw0, 0.549999, 2.000000);
- TextDrawColor(Textdraw0, 1333405439);
- TextDrawSetOutline(Textdraw0, 0);
- TextDrawSetProportional(Textdraw0, 1);
- TextDrawSetShadow(Textdraw0, 1);
- for(new i; i < MAX_PLAYERS; i ++)
- {
- if(IsPlayerConnected(i))
- {
- TextDrawShowForPlayer(i, Textdraw0);
- }
- }
- return 1;
- }
- public OnFilterScriptExit()
- {
- TextDrawHideForAll(Textdraw0);
- TextDrawDestroy(Textdraw0);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TextDrawShowForPlayer(playerid, Textdraw0);
- SendClientMessage(playerid, -1, "This textdraw on top of your gun is made by iRonan");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment