pawn Код:
/*
Filterscript generated using Zamaroht's TextDraw Editor Version 1.0.
Designed for SA-MP 0.3a.
Time and Date: 2011-9-21 @ 18:18:53
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:
https://sampwiki.blast.hk/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;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
public OnFilterScriptInit
(){ print("Textdraw file generated by");
print(" Zamaroht's textdraw editor was loaded.");
// Create the textdraws: Textdraw0
= TextDrawCreate
(544.000000,
29.000000,
"Los Santos");
TextDrawBackgroundColor
(Textdraw0,
255);
TextDrawFont
(Textdraw0,
1);
TextDrawLetterSize
(Textdraw0,
0.250000,
1.000000);
TextDrawColor
(Textdraw0,
-16776961);
TextDrawSetOutline
(Textdraw0,
0);
TextDrawSetProportional
(Textdraw0,
1);
TextDrawSetShadow
(Textdraw0,
1);
Textdraw1
= TextDrawCreate
(549.000000,
37.000000,
"Roleplay Gaming");
TextDrawBackgroundColor
(Textdraw1,
255);
TextDrawFont
(Textdraw1,
1);
TextDrawLetterSize
(Textdraw1,
0.200000,
1.000000);
TextDrawColor
(Textdraw1,
16711935);
TextDrawSetOutline
(Textdraw1,
0);
TextDrawSetProportional
(Textdraw1,
1);
TextDrawSetShadow
(Textdraw1,
1);
Textdraw2
= TextDrawCreate
(799.000000,
429.000000,
"New Textdraw");
TextDrawBackgroundColor
(Textdraw2,
255);
TextDrawFont
(Textdraw2,
1);
TextDrawLetterSize
(Textdraw2,
0.500000,
1.100000);
TextDrawColor
(Textdraw2,
623919375);
TextDrawSetOutline
(Textdraw2,
0);
TextDrawSetProportional
(Textdraw2,
1);
TextDrawSetShadow
(Textdraw2,
1);
TextDrawUseBox
(Textdraw2,
1);
TextDrawBoxColor
(Textdraw2,
-216);
TextDrawTextSize
(Textdraw2,
-257.000000,
2.000000);
Textdraw3
= TextDrawCreate
(530.000000,
431.000000,
"www.ls-rpg.own0.com");
TextDrawBackgroundColor
(Textdraw3,
255);
TextDrawFont
(Textdraw3,
1);
TextDrawLetterSize
(Textdraw3,
0.270000,
1.100000);
TextDrawColor
(Textdraw3,
16711935);
TextDrawSetOutline
(Textdraw3,
1);
TextDrawSetProportional
(Textdraw3,
1);
Textdraw4
= TextDrawCreate
(1.000000,
426.000000,
"Location:");
TextDrawBackgroundColor
(Textdraw4,
255);
TextDrawFont
(Textdraw4,
1);
TextDrawLetterSize
(Textdraw4,
0.230000,
0.899999);
TextDrawColor
(Textdraw4,
-1);
TextDrawSetOutline
(Textdraw4,
1);
TextDrawSetProportional
(Textdraw4,
1);
Textdraw5
= TextDrawCreate
(128.000000,
425.000000,
"I");
TextDrawBackgroundColor
(Textdraw5,
255);
TextDrawFont
(Textdraw5,
2);
TextDrawLetterSize
(Textdraw5,
0.500000,
2.500000);
TextDrawColor
(Textdraw5,
-16776961);
TextDrawSetOutline
(Textdraw5,
1);
TextDrawSetProportional
(Textdraw5,
1);
Textdraw6
= TextDrawCreate
(511.000000,
425.000000,
"I");
TextDrawBackgroundColor
(Textdraw6,
255);
TextDrawFont
(Textdraw6,
2);
TextDrawLetterSize
(Textdraw6,
0.500000,
2.500000);
TextDrawColor
(Textdraw6,
-16776961);
TextDrawSetOutline
(Textdraw6,
1);
TextDrawSetProportional
(Textdraw6,
1);
Textdraw7
= TextDrawCreate
(164.000000,
433.000000,
"Advertisments Bar (( Coming Soon ))");
TextDrawBackgroundColor
(Textdraw7,
255);
TextDrawFont
(Textdraw7,
1);
TextDrawLetterSize
(Textdraw7,
0.500000,
1.000000);
TextDrawColor
(Textdraw7,
-1);
TextDrawSetOutline
(Textdraw7,
1);
TextDrawSetProportional
(Textdraw7,
1);
for(new i; i
< MAX_PLAYERS; i
++) { if(IsPlayerConnected
(i
)) { TextDrawShowForPlayer
(i, Textdraw0
);
TextDrawShowForPlayer
(i, Textdraw1
);
TextDrawShowForPlayer
(i, Textdraw2
);
TextDrawShowForPlayer
(i, Textdraw3
);
TextDrawShowForPlayer
(i, Textdraw4
);
TextDrawShowForPlayer
(i, Textdraw5
);
TextDrawShowForPlayer
(i, Textdraw6
);
TextDrawShowForPlayer
(i, Textdraw7
);
} } return 1;
}public OnFilterScriptExit
(){ TextDrawHideForAll
(Textdraw0
);
TextDrawDestroy
(Textdraw0
);
TextDrawHideForAll
(Textdraw1
);
TextDrawDestroy
(Textdraw1
);
TextDrawHideForAll
(Textdraw2
);
TextDrawDestroy
(Textdraw2
);
TextDrawHideForAll
(Textdraw3
);
TextDrawDestroy
(Textdraw3
);
TextDrawHideForAll
(Textdraw4
);
TextDrawDestroy
(Textdraw4
);
TextDrawHideForAll
(Textdraw5
);
TextDrawDestroy
(Textdraw5
);
TextDrawHideForAll
(Textdraw6
);
TextDrawDestroy
(Textdraw6
);
TextDrawHideForAll
(Textdraw7
);
TextDrawDestroy
(Textdraw7
);
return 1;
}public OnPlayerConnect
(playerid
){ TextDrawShowForPlayer
(playerid, Textdraw0
);
TextDrawShowForPlayer
(playerid, Textdraw1
);
TextDrawShowForPlayer
(playerid, Textdraw2
);
TextDrawShowForPlayer
(playerid, Textdraw3
);
TextDrawShowForPlayer
(playerid, Textdraw4
);
TextDrawShowForPlayer
(playerid, Textdraw5
);
TextDrawShowForPlayer
(playerid, Textdraw6
);
TextDrawShowForPlayer
(playerid, Textdraw7
);
return 1;
}