Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ********************************************************************************
- TextDraw XMAS V2
- Credits JohnnyYz
- Web Site www.rss-ro.com
- ********************************************************************************
- */
- #include <a_samp>
- //==============================================================================
- new Text:Tree0, Text:Gifts1, Text:Christmas2;
- //==============================================================================
- public OnFilterScriptInit()
- {
- print("TextDraw XMAS v2");
- print("By JohnnyYz");
- print("www.rss-ro.com");
- // XMAS
- Tree0 = TextDrawCreate(527.200134, 317.333374, "New Textdraw");
- TextDrawLetterSize(Tree0, 0.449999, 1.600000);
- TextDrawTextSize(Tree0, 133.600036, 123.946640);
- TextDrawAlignment(Tree0, 1);
- TextDrawColor(Tree0, -1);
- TextDrawUseBox(Tree0, true);
- TextDrawBoxColor(Tree0, 0);
- TextDrawBackgroundColor(Tree0, 0);
- TextDrawSetShadow(Tree0, 0);
- TextDrawSetOutline(Tree0, 1);
- TextDrawFont(Tree0, 5);
- TextDrawSetProportional(Tree0, 1);
- TextDrawSetPreviewModel(Tree0, 19076);
- TextDrawSetPreviewRot(Tree0, 0.000000, 0.000000, 173.000000, 1.000000);
- Gifts1 = TextDrawCreate(570.399963, 408.426696, "New Textdraw");
- TextDrawLetterSize(Gifts1, 0.449999, 1.600000);
- TextDrawTextSize(Gifts1, 48.000000, 44.800056);
- TextDrawAlignment(Gifts1, 1);
- TextDrawColor(Gifts1, -1);
- TextDrawUseBox(Gifts1, true);
- TextDrawBoxColor(Gifts1, 0);
- TextDrawBackgroundColor(Gifts1, 0);
- TextDrawSetShadow(Gifts1, 0);
- TextDrawSetOutline(Gifts1, 1);
- TextDrawFont(Gifts1, 5);
- TextDrawSetProportional(Gifts1, 1);
- TextDrawSetPreviewModel(Gifts1, 19058);
- TextDrawSetPreviewRot(Gifts1, 0.000000, 0.000000, 352.000000, 1.000000);
- Christmas2 = TextDrawCreate(548.000000, 428.000000, "Merry Christmas");
- TextDrawBackgroundColor(Christmas2, 255);
- TextDrawFont(Christmas2, 0);
- TextDrawLetterSize(Christmas2, 0.410000, 1.599999);
- TextDrawColor(Christmas2, 16711935);
- TextDrawSetOutline(Christmas2, 1);
- TextDrawSetProportional(Christmas2, 1);
- TextDrawSetSelectable(Christmas2, 0);
- /*for(new i; i < MAX_PLAYERS; i ++)
- {
- if(IsPlayerConnected(i))
- {
- TextDrawShowForPlayer(i, Tree0);
- TextDrawShowForPlayer(i, Gifts1);
- TextDrawShowForPlayer(i, Christmas2);
- }
- }*/
- return 1;
- }
- //==============================================================================
- public OnFilterScriptExit()
- {
- return 1;
- }
- //==============================================================================
- public OnPlayerSpawn(playerid)
- {
- TextDrawShowForPlayer(playerid, Tree0);
- TextDrawShowForPlayer(playerid, Gifts1);
- TextDrawShowForPlayer(playerid, Christmas2);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement