24.11.2016, 15:44
TD problem !
24.11.2016, 15:49
Any code ?
24.11.2016, 15:52
#include <a_samp>
forward settime(playerid);
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
new Text:Textdraw12;
new Text:Textdraw13;
new Text:Textdraw14;
new Text:Textdraw15;
new Text:Textdraw16;
new Text:Textdraw17;
new Text:Textdraw18;
new Text:Textdraw19;
new Text:Textdraw20;
new Text:Textdraw21;
new RandomMSG[][] =
{
"~w~Posetite nas forum www.~r~uskoro~w~.com i registrujte se.",
"~w~Ukoliko vidite ~y~citera ~w~ili primetite ~y~bug ~w~prijavite na ~r~/report.",
"~w~Ukoliko ste novi igrac i ako vam treba pomoc kucajte ~r~/new ~w~ili ~r~/pomoc.",
"~w~Za ulazak u organizaciju potreban vam je ~R~Level 2.",
"~w~Da vidite listu online Admina i GameMastera ~r~/admini~w~,~r~/gamemasteri~w~.",
"~w~Lokacije poslova mozete videti u opstini na salteru komandom ~r~/poslovi ~w~!",
"~w~Neznate Pravila? Kucajte ~r~/pravila ~w~i procitajte pravila servera.",
"~w~Sve komande mozete pronaci na ~b~/help ~w~ili ~r~/komande.",
"~w~Da udjete u neku kucu, stan ili biz kucajte ~b~/enter ~w~, a da izadjete ~r~/exit.",
"~w~Za lakse snalazanje na Serveru kucajte ~b~/gps.",
"~w~Trenutna verzija moda, v1.0.0 by Denzla (Denzla).",
"~w~Da vidite adresu naseg TS3 servera kucajte ~b~/teamspeak."
};
public OnFilterScriptInit()
{
SetTimer("SendMSG", 20000, true);
SetTimer("settime", 500, true);
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
Textdraw0 = TextDrawCreate(641.199951, 430.833312, "usebox");
TextDrawLetterSize(Textdraw0, 0.000000, 1.674445);
TextDrawTextSize(Textdraw0, -2.000000, 0.000000);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, 0);
TextDrawUseBox(Textdraw0, true);
TextDrawBoxColor(Textdraw0, 102);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 0);
TextDrawFont(Textdraw0, 0);
Textdraw1 = TextDrawCreate(0.000000, 428.586669, "LD_SPAC:white");
TextDrawLetterSize(Textdraw1, 0.000000, 0.000000);
TextDrawTextSize(Textdraw1, 0.799999, 19.413330);
TextDrawAlignment(Textdraw1, 1);
TextDrawColor(Textdraw1, 16777215);
TextDrawSetShadow(Textdraw1, 0);
TextDrawSetOutline(Textdraw1, 0);
TextDrawFont(Textdraw1, 4);
Textdraw2 = TextDrawCreate(639.199951, 429.333312, "LD_SPAC:white");
TextDrawLetterSize(Textdraw2, 0.000000, 0.000000);
TextDrawTextSize(Textdraw2, 0.800048, 18.666687);
TextDrawAlignment(Textdraw2, 1);
TextDrawColor(Textdraw2, 16777215);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 0);
TextDrawFont(Textdraw2, 4);
Textdraw3 = TextDrawCreate(0.000000, 447.253326, "LD_SPAC:white");
TextDrawLetterSize(Textdraw3, 0.000000, 0.000000);
TextDrawTextSize(Textdraw3, 640.000000, 0.746673);
TextDrawAlignment(Textdraw3, 1);
TextDrawColor(Textdraw3, 16777215);
TextDrawSetShadow(Textdraw3, 0);
TextDrawSetOutline(Textdraw3, 0);
TextDrawFont(Textdraw3, 4);
Textdraw4 = TextDrawCreate(100.799995, 428.586669, "LD_SPAC:white");
TextDrawLetterSize(Textdraw4, 0.000000, 0.000000);
TextDrawTextSize(Textdraw4, 1.599990, 18.666687);
TextDrawAlignment(Textdraw4, 1);
TextDrawColor(Textdraw4, 16777215);
TextDrawSetShadow(Textdraw4, 0);
TextDrawSetOutline(Textdraw4, 0);
TextDrawFont(Textdraw4, 4);
Textdraw5 = TextDrawCreate(532.800048, 429.333343, "LD_SPAC:white");
TextDrawLetterSize(Textdraw5, 0.000000, 0.000000);
TextDrawTextSize(Textdraw5, 1.599975, 19.413330);
TextDrawAlignment(Textdraw5, 1);
TextDrawColor(Textdraw5, 16777215);
TextDrawSetShadow(Textdraw5, 0);
TextDrawSetOutline(Textdraw5, 0);
TextDrawFont(Textdraw5, 4);
Textdraw6 = TextDrawCreate(17.600055, 432.320190, "20:00:00");
TextDrawLetterSize(Textdraw6, 0.308400, 1.226666);
TextDrawAlignment(Textdraw6, 1);
TextDrawColor(Textdraw6, -1);
TextDrawUseBox(Textdraw6, true);
TextDrawBoxColor(Textdraw6, 0);
TextDrawSetShadow(Textdraw6, 0);
TextDrawSetOutline(Textdraw6, 1);
TextDrawBackgroundColor(Textdraw6, 51);
TextDrawFont(Textdraw6, 2);
TextDrawSetProportional(Textdraw6, 1);
Textdraw7 = TextDrawCreate(554.399414, 431.573364, "26.11.2016.");
TextDrawLetterSize(Textdraw7, 0.317200, 1.204266);
TextDrawAlignment(Textdraw7, 1);
TextDrawColor(Textdraw7, -1);
TextDrawSetShadow(Textdraw7, 0);
TextDrawSetOutline(Textdraw7, 1);
TextDrawBackgroundColor(Textdraw7, 51);
TextDrawFont(Textdraw7, 2);
TextDrawSetProportional(Textdraw7, 1);
Textdraw8 = TextDrawCreate(229.599945, 412.906677, "New Balance Roleplay");
TextDrawLetterSize(Textdraw8, 0.449999, 1.600000);
TextDrawAlignment(Textdraw8, 1);
TextDrawColor(Textdraw8, 16777215);
TextDrawSetShadow(Textdraw8, 0);
TextDrawSetOutline(Textdraw8, 1);
TextDrawBackgroundColor(Textdraw8, 51);
TextDrawFont(Textdraw8, 3);
TextDrawSetProportional(Textdraw8, 1);
Textdraw9 = TextDrawCreate(371.200225, 394.240112, "New Textdraw");
TextDrawLetterSize(Textdraw9, -1.559600, -15.707730);
TextDrawTextSize(Textdraw9, 57.599990, 45.546661);
TextDrawAlignment(Textdraw9, 2);
TextDrawColor(Textdraw9, -1);
TextDrawUseBox(Textdraw9, true);
TextDrawBoxColor(Textdraw9, 255);
TextDrawSetShadow(Textdraw9, 0);
TextDrawSetOutline(Textdraw9, 1);
TextDrawFont(Textdraw9, 5);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetSelectable(Textdraw9, true);
TextDrawSetPreviewModel(Textdraw9, 19064);
TextDrawSetPreviewRot(Textdraw9, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw10 = TextDrawCreate(205.599975, 343.466735, "New Textdraw");
TextDrawLetterSize(Textdraw10, 0.449999, 1.600000);
TextDrawTextSize(Textdraw10, 235.200012, 113.493362);
TextDrawAlignment(Textdraw10, 1);
TextDrawColor(Textdraw10, 255);
TextDrawUseBox(Textdraw10, true);
TextDrawBoxColor(Textdraw10, 0);
TextDrawSetShadow(Textdraw10, 0);
TextDrawSetOutline(Textdraw10, 1);
TextDrawFont(Textdraw10, 5);
TextDrawSetProportional(Textdraw10, 1);
TextDrawSetPreviewModel(Textdraw10, 4002);
TextDrawSetPreviewRot(Textdraw10, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw11 = TextDrawCreate(523.200378, 332.266571, "New Textdraw");
TextDrawLetterSize(Textdraw11, 0.449999, 1.600000);
TextDrawTextSize(Textdraw11, 185.600051, 117.973327);
TextDrawAlignment(Textdraw11, 1);
TextDrawColor(Textdraw11, -1);
TextDrawUseBox(Textdraw11, true);
TextDrawBoxColor(Textdraw11, 0);
TextDrawSetShadow(Textdraw11, 0);
TextDrawSetOutline(Textdraw11, 1);
TextDrawFont(Textdraw11, 5);
TextDrawSetProportional(Textdraw11, 1);
TextDrawSetPreviewModel(Textdraw11, 19076);
TextDrawSetPreviewRot(Textdraw11, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw12 = TextDrawCreate(568.799926, 408.426788, "New Textdraw");
TextDrawLetterSize(Textdraw12, 0.449999, 1.600000);
TextDrawTextSize(Textdraw12, 31.200017, 23.89334;
TextDrawAlignment(Textdraw12, 1);
TextDrawColor(Textdraw12, -1);
TextDrawUseBox(Textdraw12, true);
TextDrawBoxColor(Textdraw12, 0);
TextDrawSetShadow(Textdraw12, 0);
TextDrawSetOutline(Textdraw12, 1);
TextDrawFont(Textdraw12, 5);
TextDrawSetProportional(Textdraw12, 1);
TextDrawSetPreviewModel(Textdraw12, 1905;
TextDrawSetPreviewRot(Textdraw12, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw13 = TextDrawCreate(599.199401, 405.440277, "New Textdraw");
TextDrawLetterSize(Textdraw13, 0.449999, 1.600000);
TextDrawTextSize(Textdraw13, 24.800010, 26.879991);
TextDrawAlignment(Textdraw13, 1);
TextDrawColor(Textdraw13, -1);
TextDrawUseBox(Textdraw13, true);
TextDrawBoxColor(Textdraw13, 0);
TextDrawSetShadow(Textdraw13, 0);
TextDrawSetOutline(Textdraw13, 1);
TextDrawFont(Textdraw13, 5);
TextDrawSetProportional(Textdraw13, 1);
TextDrawSetPreviewModel(Textdraw13, 19057);
TextDrawSetPreviewRot(Textdraw13, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw14 = TextDrawCreate(530.399963, 2.986669, "NB");
TextDrawLetterSize(Textdraw14, 0.765200, 3.406934);
TextDrawTextSize(Textdraw14, 201.599990, 190.400009);
TextDrawAlignment(Textdraw14, 1);
TextDrawColor(Textdraw14, 16777215);
TextDrawUseBox(Textdraw14, true);
TextDrawBoxColor(Textdraw14, 0);
TextDrawSetShadow(Textdraw14, 0);
TextDrawSetOutline(Textdraw14, 1);
TextDrawBackgroundColor(Textdraw14, 51);
TextDrawFont(Textdraw14, 1);
TextDrawSetProportional(Textdraw14, 1);
Textdraw15 = TextDrawCreate(567.200256, 8.213333, "New");
TextDrawLetterSize(Textdraw15, 0.438800, 1.107200);
TextDrawTextSize(Textdraw15, -107.999992, -89.59999;
TextDrawAlignment(Textdraw15, 1);
TextDrawColor(Textdraw15, -1);
TextDrawSetShadow(Textdraw15, 0);
TextDrawSetOutline(Textdraw15, 1);
TextDrawBackgroundColor(Textdraw15, 51);
TextDrawFont(Textdraw15, 3);
TextDrawSetProportional(Textdraw15, 1);
Textdraw16 = TextDrawCreate(566.399902, 18.666650, "Balance");
TextDrawLetterSize(Textdraw16, 0.418800, 1.263999);
TextDrawAlignment(Textdraw16, 1);
TextDrawColor(Textdraw16, -1);
TextDrawUseBox(Textdraw16, true);
TextDrawBoxColor(Textdraw16, 0);
TextDrawSetShadow(Textdraw16, 0);
TextDrawSetOutline(Textdraw16, 1);
TextDrawBackgroundColor(Textdraw16, 51);
TextDrawFont(Textdraw16, 3);
TextDrawSetProportional(Textdraw16, 1);
Textdraw17 = TextDrawCreate(592.799804, -4.480008, "New Textdraw");
TextDrawLetterSize(Textdraw17, 0.449999, 1.600000);
TextDrawTextSize(Textdraw17, 32.800006, 20.906730);
TextDrawAlignment(Textdraw17, 1);
TextDrawColor(Textdraw17, -1);
TextDrawUseBox(Textdraw17, true);
TextDrawBoxColor(Textdraw17, 0);
TextDrawSetShadow(Textdraw17, 0);
TextDrawSetOutline(Textdraw17, 1);
TextDrawFont(Textdraw17, 5);
TextDrawSetProportional(Textdraw17, 1);
TextDrawSetPreviewModel(Textdraw17, 19060);
TextDrawSetPreviewRot(Textdraw17, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw18 = TextDrawCreate(545.600280, -5.973342, "New Textdraw");
TextDrawLetterSize(Textdraw18, 0.449999, 1.600000);
TextDrawTextSize(Textdraw18, 35.200023, 23.893356);
TextDrawAlignment(Textdraw18, 1);
TextDrawColor(Textdraw18, -1);
TextDrawUseBox(Textdraw18, true);
TextDrawBoxColor(Textdraw18, 0);
TextDrawSetShadow(Textdraw18, 0);
TextDrawSetOutline(Textdraw18, 1);
TextDrawFont(Textdraw18, 5);
TextDrawSetProportional(Textdraw18, 1);
TextDrawSetPreviewModel(Textdraw18, 19061);
TextDrawSetPreviewRot(Textdraw18, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw19 = TextDrawCreate(618.399841, 2.240013, "New Textdraw");
TextDrawLetterSize(Textdraw19, 0.449999, 1.600000);
TextDrawTextSize(Textdraw19, 23.200008, 20.906665);
TextDrawAlignment(Textdraw19, 1);
TextDrawColor(Textdraw19, -1);
TextDrawUseBox(Textdraw19, true);
TextDrawBoxColor(Textdraw19, 0);
TextDrawSetShadow(Textdraw19, 0);
TextDrawSetOutline(Textdraw19, 1);
TextDrawFont(Textdraw19, 5);
TextDrawSetProportional(Textdraw19, 1);
TextDrawSetPreviewModel(Textdraw19, 19062);
TextDrawSetPreviewRot(Textdraw19, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw20 = TextDrawCreate(507.999877, -6.719991, "New Textdraw");
TextDrawLetterSize(Textdraw20, 0.449999, 1.600000);
TextDrawTextSize(Textdraw20, 26.399986, 24.640003);
TextDrawAlignment(Textdraw20, 1);
TextDrawColor(Textdraw20, -1);
TextDrawUseBox(Textdraw20, true);
TextDrawBoxColor(Textdraw20, 0);
TextDrawSetShadow(Textdraw20, 0);
TextDrawSetOutline(Textdraw20, 1);
TextDrawFont(Textdraw20, 5);
TextDrawSetProportional(Textdraw20, 1);
TextDrawSetPreviewModel(Textdraw20, 19059);
TextDrawSetPreviewRot(Textdraw20, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw21 = TextDrawCreate(205.599929, 428.586730, "Pravila servera mozete vidjeti komandom /pravila");
TextDrawLetterSize(Textdraw21, 0.247599, 1.600000);
TextDrawTextSize(Textdraw21, 552.800048, 115.733345);
TextDrawAlignment(Textdraw21, 1);
TextDrawColor(Textdraw21, -1);
TextDrawUseBox(Textdraw21, true);
TextDrawBoxColor(Textdraw21, 0);
TextDrawSetShadow(Textdraw21, 0);
TextDrawSetOutline(Textdraw21, 1);
TextDrawBackgroundColor(Textdraw21, 51);
TextDrawFont(Textdraw21, 1);
TextDrawSetProportional(Textdraw21, 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Text:Textdraw0);
TextDrawShowForPlayer(playerid, Text:Textdraw1);
TextDrawShowForPlayer(playerid, Text:Textdraw2);
TextDrawShowForPlayer(playerid, Text:Textdraw3);
TextDrawShowForPlayer(playerid, Text:Textdraw4);
TextDrawShowForPlayer(playerid, Text:Textdraw5);
TextDrawShowForPlayer(playerid, Text:Textdraw6);
TextDrawShowForPlayer(playerid, Text:Textdraw7);
TextDrawShowForPlayer(playerid, Text:Textdraw;
TextDrawShowForPlayer(playerid, Text:Textdraw9);
TextDrawShowForPlayer(playerid, Text:Textdraw10);
TextDrawShowForPlayer(playerid, Text:Textdraw11);
TextDrawShowForPlayer(playerid, Text:Textdraw12);
TextDrawShowForPlayer(playerid, Text:Textdraw13);
TextDrawShowForPlayer(playerid, Text:Textdraw14);
TextDrawShowForPlayer(playerid, Text:Textdraw15);
TextDrawShowForPlayer(playerid, Text:Textdraw16);
TextDrawShowForPlayer(playerid, Text:Textdraw17);
TextDrawShowForPlayer(playerid, Text:Textdraw1;
TextDrawShowForPlayer(playerid, Text:Textdraw19);
TextDrawShowForPlayer(playerid, Text:Textdraw20);
TextDrawShowForPlayer(playerid, Text:Textdraw21);
return 1;
}
forward SendMSG();
public SendMSG()
{
new randMSG = random(sizeof(RandomMSG));
TextDrawSetString(Text:Textdraw21,RandomMSG[randMSG]);
}
public settime(playerid)
{
new string[256],year,month,day,hours,minutes,seconds;
getdate(year, month, day), gettime(hours, minutes, seconds);
format(string, sizeof string, "%d/%s%d/%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year);
TextDrawSetString(Textdraw7, string);
format(string, sizeof string, "%s%d:%s%d:%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes, (seconds < 10) ? ("0") : (""), seconds);
TextDrawSetString(Textdraw6, string);
}
forward settime(playerid);
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
new Text:Textdraw12;
new Text:Textdraw13;
new Text:Textdraw14;
new Text:Textdraw15;
new Text:Textdraw16;
new Text:Textdraw17;
new Text:Textdraw18;
new Text:Textdraw19;
new Text:Textdraw20;
new Text:Textdraw21;
new RandomMSG[][] =
{
"~w~Posetite nas forum www.~r~uskoro~w~.com i registrujte se.",
"~w~Ukoliko vidite ~y~citera ~w~ili primetite ~y~bug ~w~prijavite na ~r~/report.",
"~w~Ukoliko ste novi igrac i ako vam treba pomoc kucajte ~r~/new ~w~ili ~r~/pomoc.",
"~w~Za ulazak u organizaciju potreban vam je ~R~Level 2.",
"~w~Da vidite listu online Admina i GameMastera ~r~/admini~w~,~r~/gamemasteri~w~.",
"~w~Lokacije poslova mozete videti u opstini na salteru komandom ~r~/poslovi ~w~!",
"~w~Neznate Pravila? Kucajte ~r~/pravila ~w~i procitajte pravila servera.",
"~w~Sve komande mozete pronaci na ~b~/help ~w~ili ~r~/komande.",
"~w~Da udjete u neku kucu, stan ili biz kucajte ~b~/enter ~w~, a da izadjete ~r~/exit.",
"~w~Za lakse snalazanje na Serveru kucajte ~b~/gps.",
"~w~Trenutna verzija moda, v1.0.0 by Denzla (Denzla).",
"~w~Da vidite adresu naseg TS3 servera kucajte ~b~/teamspeak."
};
public OnFilterScriptInit()
{
SetTimer("SendMSG", 20000, true);
SetTimer("settime", 500, true);
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
Textdraw0 = TextDrawCreate(641.199951, 430.833312, "usebox");
TextDrawLetterSize(Textdraw0, 0.000000, 1.674445);
TextDrawTextSize(Textdraw0, -2.000000, 0.000000);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, 0);
TextDrawUseBox(Textdraw0, true);
TextDrawBoxColor(Textdraw0, 102);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 0);
TextDrawFont(Textdraw0, 0);
Textdraw1 = TextDrawCreate(0.000000, 428.586669, "LD_SPAC:white");
TextDrawLetterSize(Textdraw1, 0.000000, 0.000000);
TextDrawTextSize(Textdraw1, 0.799999, 19.413330);
TextDrawAlignment(Textdraw1, 1);
TextDrawColor(Textdraw1, 16777215);
TextDrawSetShadow(Textdraw1, 0);
TextDrawSetOutline(Textdraw1, 0);
TextDrawFont(Textdraw1, 4);
Textdraw2 = TextDrawCreate(639.199951, 429.333312, "LD_SPAC:white");
TextDrawLetterSize(Textdraw2, 0.000000, 0.000000);
TextDrawTextSize(Textdraw2, 0.800048, 18.666687);
TextDrawAlignment(Textdraw2, 1);
TextDrawColor(Textdraw2, 16777215);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 0);
TextDrawFont(Textdraw2, 4);
Textdraw3 = TextDrawCreate(0.000000, 447.253326, "LD_SPAC:white");
TextDrawLetterSize(Textdraw3, 0.000000, 0.000000);
TextDrawTextSize(Textdraw3, 640.000000, 0.746673);
TextDrawAlignment(Textdraw3, 1);
TextDrawColor(Textdraw3, 16777215);
TextDrawSetShadow(Textdraw3, 0);
TextDrawSetOutline(Textdraw3, 0);
TextDrawFont(Textdraw3, 4);
Textdraw4 = TextDrawCreate(100.799995, 428.586669, "LD_SPAC:white");
TextDrawLetterSize(Textdraw4, 0.000000, 0.000000);
TextDrawTextSize(Textdraw4, 1.599990, 18.666687);
TextDrawAlignment(Textdraw4, 1);
TextDrawColor(Textdraw4, 16777215);
TextDrawSetShadow(Textdraw4, 0);
TextDrawSetOutline(Textdraw4, 0);
TextDrawFont(Textdraw4, 4);
Textdraw5 = TextDrawCreate(532.800048, 429.333343, "LD_SPAC:white");
TextDrawLetterSize(Textdraw5, 0.000000, 0.000000);
TextDrawTextSize(Textdraw5, 1.599975, 19.413330);
TextDrawAlignment(Textdraw5, 1);
TextDrawColor(Textdraw5, 16777215);
TextDrawSetShadow(Textdraw5, 0);
TextDrawSetOutline(Textdraw5, 0);
TextDrawFont(Textdraw5, 4);
Textdraw6 = TextDrawCreate(17.600055, 432.320190, "20:00:00");
TextDrawLetterSize(Textdraw6, 0.308400, 1.226666);
TextDrawAlignment(Textdraw6, 1);
TextDrawColor(Textdraw6, -1);
TextDrawUseBox(Textdraw6, true);
TextDrawBoxColor(Textdraw6, 0);
TextDrawSetShadow(Textdraw6, 0);
TextDrawSetOutline(Textdraw6, 1);
TextDrawBackgroundColor(Textdraw6, 51);
TextDrawFont(Textdraw6, 2);
TextDrawSetProportional(Textdraw6, 1);
Textdraw7 = TextDrawCreate(554.399414, 431.573364, "26.11.2016.");
TextDrawLetterSize(Textdraw7, 0.317200, 1.204266);
TextDrawAlignment(Textdraw7, 1);
TextDrawColor(Textdraw7, -1);
TextDrawSetShadow(Textdraw7, 0);
TextDrawSetOutline(Textdraw7, 1);
TextDrawBackgroundColor(Textdraw7, 51);
TextDrawFont(Textdraw7, 2);
TextDrawSetProportional(Textdraw7, 1);
Textdraw8 = TextDrawCreate(229.599945, 412.906677, "New Balance Roleplay");
TextDrawLetterSize(Textdraw8, 0.449999, 1.600000);
TextDrawAlignment(Textdraw8, 1);
TextDrawColor(Textdraw8, 16777215);
TextDrawSetShadow(Textdraw8, 0);
TextDrawSetOutline(Textdraw8, 1);
TextDrawBackgroundColor(Textdraw8, 51);
TextDrawFont(Textdraw8, 3);
TextDrawSetProportional(Textdraw8, 1);
Textdraw9 = TextDrawCreate(371.200225, 394.240112, "New Textdraw");
TextDrawLetterSize(Textdraw9, -1.559600, -15.707730);
TextDrawTextSize(Textdraw9, 57.599990, 45.546661);
TextDrawAlignment(Textdraw9, 2);
TextDrawColor(Textdraw9, -1);
TextDrawUseBox(Textdraw9, true);
TextDrawBoxColor(Textdraw9, 255);
TextDrawSetShadow(Textdraw9, 0);
TextDrawSetOutline(Textdraw9, 1);
TextDrawFont(Textdraw9, 5);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetSelectable(Textdraw9, true);
TextDrawSetPreviewModel(Textdraw9, 19064);
TextDrawSetPreviewRot(Textdraw9, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw10 = TextDrawCreate(205.599975, 343.466735, "New Textdraw");
TextDrawLetterSize(Textdraw10, 0.449999, 1.600000);
TextDrawTextSize(Textdraw10, 235.200012, 113.493362);
TextDrawAlignment(Textdraw10, 1);
TextDrawColor(Textdraw10, 255);
TextDrawUseBox(Textdraw10, true);
TextDrawBoxColor(Textdraw10, 0);
TextDrawSetShadow(Textdraw10, 0);
TextDrawSetOutline(Textdraw10, 1);
TextDrawFont(Textdraw10, 5);
TextDrawSetProportional(Textdraw10, 1);
TextDrawSetPreviewModel(Textdraw10, 4002);
TextDrawSetPreviewRot(Textdraw10, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw11 = TextDrawCreate(523.200378, 332.266571, "New Textdraw");
TextDrawLetterSize(Textdraw11, 0.449999, 1.600000);
TextDrawTextSize(Textdraw11, 185.600051, 117.973327);
TextDrawAlignment(Textdraw11, 1);
TextDrawColor(Textdraw11, -1);
TextDrawUseBox(Textdraw11, true);
TextDrawBoxColor(Textdraw11, 0);
TextDrawSetShadow(Textdraw11, 0);
TextDrawSetOutline(Textdraw11, 1);
TextDrawFont(Textdraw11, 5);
TextDrawSetProportional(Textdraw11, 1);
TextDrawSetPreviewModel(Textdraw11, 19076);
TextDrawSetPreviewRot(Textdraw11, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw12 = TextDrawCreate(568.799926, 408.426788, "New Textdraw");
TextDrawLetterSize(Textdraw12, 0.449999, 1.600000);
TextDrawTextSize(Textdraw12, 31.200017, 23.89334;
TextDrawAlignment(Textdraw12, 1);
TextDrawColor(Textdraw12, -1);
TextDrawUseBox(Textdraw12, true);
TextDrawBoxColor(Textdraw12, 0);
TextDrawSetShadow(Textdraw12, 0);
TextDrawSetOutline(Textdraw12, 1);
TextDrawFont(Textdraw12, 5);
TextDrawSetProportional(Textdraw12, 1);
TextDrawSetPreviewModel(Textdraw12, 1905;
TextDrawSetPreviewRot(Textdraw12, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw13 = TextDrawCreate(599.199401, 405.440277, "New Textdraw");
TextDrawLetterSize(Textdraw13, 0.449999, 1.600000);
TextDrawTextSize(Textdraw13, 24.800010, 26.879991);
TextDrawAlignment(Textdraw13, 1);
TextDrawColor(Textdraw13, -1);
TextDrawUseBox(Textdraw13, true);
TextDrawBoxColor(Textdraw13, 0);
TextDrawSetShadow(Textdraw13, 0);
TextDrawSetOutline(Textdraw13, 1);
TextDrawFont(Textdraw13, 5);
TextDrawSetProportional(Textdraw13, 1);
TextDrawSetPreviewModel(Textdraw13, 19057);
TextDrawSetPreviewRot(Textdraw13, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw14 = TextDrawCreate(530.399963, 2.986669, "NB");
TextDrawLetterSize(Textdraw14, 0.765200, 3.406934);
TextDrawTextSize(Textdraw14, 201.599990, 190.400009);
TextDrawAlignment(Textdraw14, 1);
TextDrawColor(Textdraw14, 16777215);
TextDrawUseBox(Textdraw14, true);
TextDrawBoxColor(Textdraw14, 0);
TextDrawSetShadow(Textdraw14, 0);
TextDrawSetOutline(Textdraw14, 1);
TextDrawBackgroundColor(Textdraw14, 51);
TextDrawFont(Textdraw14, 1);
TextDrawSetProportional(Textdraw14, 1);
Textdraw15 = TextDrawCreate(567.200256, 8.213333, "New");
TextDrawLetterSize(Textdraw15, 0.438800, 1.107200);
TextDrawTextSize(Textdraw15, -107.999992, -89.59999;
TextDrawAlignment(Textdraw15, 1);
TextDrawColor(Textdraw15, -1);
TextDrawSetShadow(Textdraw15, 0);
TextDrawSetOutline(Textdraw15, 1);
TextDrawBackgroundColor(Textdraw15, 51);
TextDrawFont(Textdraw15, 3);
TextDrawSetProportional(Textdraw15, 1);
Textdraw16 = TextDrawCreate(566.399902, 18.666650, "Balance");
TextDrawLetterSize(Textdraw16, 0.418800, 1.263999);
TextDrawAlignment(Textdraw16, 1);
TextDrawColor(Textdraw16, -1);
TextDrawUseBox(Textdraw16, true);
TextDrawBoxColor(Textdraw16, 0);
TextDrawSetShadow(Textdraw16, 0);
TextDrawSetOutline(Textdraw16, 1);
TextDrawBackgroundColor(Textdraw16, 51);
TextDrawFont(Textdraw16, 3);
TextDrawSetProportional(Textdraw16, 1);
Textdraw17 = TextDrawCreate(592.799804, -4.480008, "New Textdraw");
TextDrawLetterSize(Textdraw17, 0.449999, 1.600000);
TextDrawTextSize(Textdraw17, 32.800006, 20.906730);
TextDrawAlignment(Textdraw17, 1);
TextDrawColor(Textdraw17, -1);
TextDrawUseBox(Textdraw17, true);
TextDrawBoxColor(Textdraw17, 0);
TextDrawSetShadow(Textdraw17, 0);
TextDrawSetOutline(Textdraw17, 1);
TextDrawFont(Textdraw17, 5);
TextDrawSetProportional(Textdraw17, 1);
TextDrawSetPreviewModel(Textdraw17, 19060);
TextDrawSetPreviewRot(Textdraw17, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw18 = TextDrawCreate(545.600280, -5.973342, "New Textdraw");
TextDrawLetterSize(Textdraw18, 0.449999, 1.600000);
TextDrawTextSize(Textdraw18, 35.200023, 23.893356);
TextDrawAlignment(Textdraw18, 1);
TextDrawColor(Textdraw18, -1);
TextDrawUseBox(Textdraw18, true);
TextDrawBoxColor(Textdraw18, 0);
TextDrawSetShadow(Textdraw18, 0);
TextDrawSetOutline(Textdraw18, 1);
TextDrawFont(Textdraw18, 5);
TextDrawSetProportional(Textdraw18, 1);
TextDrawSetPreviewModel(Textdraw18, 19061);
TextDrawSetPreviewRot(Textdraw18, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw19 = TextDrawCreate(618.399841, 2.240013, "New Textdraw");
TextDrawLetterSize(Textdraw19, 0.449999, 1.600000);
TextDrawTextSize(Textdraw19, 23.200008, 20.906665);
TextDrawAlignment(Textdraw19, 1);
TextDrawColor(Textdraw19, -1);
TextDrawUseBox(Textdraw19, true);
TextDrawBoxColor(Textdraw19, 0);
TextDrawSetShadow(Textdraw19, 0);
TextDrawSetOutline(Textdraw19, 1);
TextDrawFont(Textdraw19, 5);
TextDrawSetProportional(Textdraw19, 1);
TextDrawSetPreviewModel(Textdraw19, 19062);
TextDrawSetPreviewRot(Textdraw19, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw20 = TextDrawCreate(507.999877, -6.719991, "New Textdraw");
TextDrawLetterSize(Textdraw20, 0.449999, 1.600000);
TextDrawTextSize(Textdraw20, 26.399986, 24.640003);
TextDrawAlignment(Textdraw20, 1);
TextDrawColor(Textdraw20, -1);
TextDrawUseBox(Textdraw20, true);
TextDrawBoxColor(Textdraw20, 0);
TextDrawSetShadow(Textdraw20, 0);
TextDrawSetOutline(Textdraw20, 1);
TextDrawFont(Textdraw20, 5);
TextDrawSetProportional(Textdraw20, 1);
TextDrawSetPreviewModel(Textdraw20, 19059);
TextDrawSetPreviewRot(Textdraw20, 0.000000, 0.000000, 0.000000, 1.000000);
Textdraw21 = TextDrawCreate(205.599929, 428.586730, "Pravila servera mozete vidjeti komandom /pravila");
TextDrawLetterSize(Textdraw21, 0.247599, 1.600000);
TextDrawTextSize(Textdraw21, 552.800048, 115.733345);
TextDrawAlignment(Textdraw21, 1);
TextDrawColor(Textdraw21, -1);
TextDrawUseBox(Textdraw21, true);
TextDrawBoxColor(Textdraw21, 0);
TextDrawSetShadow(Textdraw21, 0);
TextDrawSetOutline(Textdraw21, 1);
TextDrawBackgroundColor(Textdraw21, 51);
TextDrawFont(Textdraw21, 1);
TextDrawSetProportional(Textdraw21, 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Text:Textdraw0);
TextDrawShowForPlayer(playerid, Text:Textdraw1);
TextDrawShowForPlayer(playerid, Text:Textdraw2);
TextDrawShowForPlayer(playerid, Text:Textdraw3);
TextDrawShowForPlayer(playerid, Text:Textdraw4);
TextDrawShowForPlayer(playerid, Text:Textdraw5);
TextDrawShowForPlayer(playerid, Text:Textdraw6);
TextDrawShowForPlayer(playerid, Text:Textdraw7);
TextDrawShowForPlayer(playerid, Text:Textdraw;
TextDrawShowForPlayer(playerid, Text:Textdraw9);
TextDrawShowForPlayer(playerid, Text:Textdraw10);
TextDrawShowForPlayer(playerid, Text:Textdraw11);
TextDrawShowForPlayer(playerid, Text:Textdraw12);
TextDrawShowForPlayer(playerid, Text:Textdraw13);
TextDrawShowForPlayer(playerid, Text:Textdraw14);
TextDrawShowForPlayer(playerid, Text:Textdraw15);
TextDrawShowForPlayer(playerid, Text:Textdraw16);
TextDrawShowForPlayer(playerid, Text:Textdraw17);
TextDrawShowForPlayer(playerid, Text:Textdraw1;
TextDrawShowForPlayer(playerid, Text:Textdraw19);
TextDrawShowForPlayer(playerid, Text:Textdraw20);
TextDrawShowForPlayer(playerid, Text:Textdraw21);
return 1;
}
forward SendMSG();
public SendMSG()
{
new randMSG = random(sizeof(RandomMSG));
TextDrawSetString(Text:Textdraw21,RandomMSG[randMSG]);
}
public settime(playerid)
{
new string[256],year,month,day,hours,minutes,seconds;
getdate(year, month, day), gettime(hours, minutes, seconds);
format(string, sizeof string, "%d/%s%d/%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year);
TextDrawSetString(Textdraw7, string);
format(string, sizeof string, "%s%d:%s%d:%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes, (seconds < 10) ? ("0") : (""), seconds);
TextDrawSetString(Textdraw6, string);
}
24.11.2016, 16:03
TextDrawUseBox(yourtextdrawhere, false);
24.11.2016, 16:13
does not work
24.11.2016, 16:17
24.11.2016, 16:32
fucked again does not work
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)