- เครดิต
- 26
- ความรู้
-
- เงิน $
-
- ความดี
-
|
Textdraw1 = TextDrawCreate(112.453857, 418.249816, "SOL 0.1.0");
TextDrawLetterSize(Textdraw1, 0.209646, 1.174167);
TextDrawAlignment(Textdraw1, 1);
TextDrawColor(Textdraw1, 8388863);
TextDrawSetShadow(Textdraw1, 0);
TextDrawSetOutline(Textdraw1, 1);
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 2);
TextDrawSetProportional(Textdraw1, 1);
Textdraw2 = TextDrawCreate(143.500000, 391.999877, "L");
TextDrawLetterSize(Textdraw2, 0.450468, 3.396666);
TextDrawAlignment(Textdraw2, 2);
TextDrawColor(Textdraw2, 255);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 1);
TextDrawBackgroundColor(Textdraw2, 161);
TextDrawFont(Textdraw2, 2);
TextDrawSetProportional(Textdraw2, 1);
Textdraw3 = TextDrawCreate(218.500000, 404.666595, "-------------------------- - - - -");
TextDrawLetterSize(Textdraw3, 0.330467, 2.428330);
TextDrawAlignment(Textdraw3, 2);
TextDrawColor(Textdraw3, 255);
TextDrawSetShadow(Textdraw3, 0);
TextDrawSetOutline(Textdraw3, 1);
TextDrawBackgroundColor(Textdraw3, 161);
TextDrawFont(Textdraw3, 2);
TextDrawSetProportional(Textdraw3, 1);
Textdraw4 = TextDrawCreate(159.453857, 418.083190, "127.0.0.1:7777");
TextDrawLetterSize(Textdraw4, 0.209646, 1.174167);
TextDrawAlignment(Textdraw4, 1);
TextDrawColor(Textdraw4, 8388863);
TextDrawSetShadow(Textdraw4, 0);
TextDrawSetOutline(Textdraw4, 1);
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 2);
TextDrawSetProportional(Textdraw4, 1);
Textdraw5 = TextDrawCreate(168.500000, 395.583312, "GTAHeroMan SS1'");
TextDrawLetterSize(Textdraw5, 0.551968, 2.113331);
TextDrawAlignment(Textdraw5, 2);
TextDrawColor(Textdraw5, -16776961);
TextDrawSetShadow(Textdraw5, 0);
TextDrawSetOutline(Textdraw5, 1);
TextDrawBackgroundColor(Textdraw5, 161);
TextDrawFont(Textdraw5, 2);
TextDrawSetProportional(Textdraw5, 1);
Textdraw6 = TextDrawCreate(155.500000, 413.833465, "i");
TextDrawLetterSize(Textdraw6, 0.330468, 2.428331);
TextDrawAlignment(Textdraw6, 2);
TextDrawColor(Textdraw6, 255);
TextDrawSetShadow(Textdraw6, 0);
TextDrawSetOutline(Textdraw6, 1);
TextDrawBackgroundColor(Textdraw6, 161);
TextDrawFont(Textdraw6, 2);
TextDrawSetProportional(Textdraw6, 1);
Textdraw7 = TextDrawCreate(145.000000, 420.250061, "-----------------------------------------------------");
TextDrawLetterSize(Textdraw7, 0.330468, 2.428331);
TextDrawAlignment(Textdraw7, 2);
TextDrawColor(Textdraw7, 255);
TextDrawSetShadow(Textdraw7, 0);
TextDrawSetOutline(Textdraw7, 1);
TextDrawBackgroundColor(Textdraw7, 161);
TextDrawFont(Textdraw7, 2);
TextDrawSetProportional(Textdraw7, 1);
Ntick = TextDrawCreate(5.0, 431.0, " www..com");
TextDrawBackgroundColor(Ntick, 0xFF0A00FF);
TextDrawFont(Ntick, 2);
TextDrawLetterSize(Ntick, 0.500000, 1.000000);
TextDrawColor(Ntick, 0xFFFFFFFF);
TextDrawSetOutline(Ntick, 1);
TextDrawSetProportional(Ntick, 1);
TextDrawSetShadow(Ntick, 1);
TextDrawAlignment(Ntick, 0);
Ntick1 = TextDrawCreate(5.0, 431.0, " ");
TextDrawBackgroundColor(Ntick1, 0xFF0A00FF);
TextDrawFont(Ntick1, 2);
TextDrawLetterSize(Ntick1, 0.500000, 1.000000);
TextDrawColor(Ntick1, 0x6d05f5FF);
TextDrawSetOutline(Ntick1, 1);
TextDrawSetProportional(Ntick1, 1);
TextDrawSetShadow(Ntick1, 1);
TextDrawAlignment(Ntick1, 0);
/*LeGend = TextDrawCreate(499 ,389 , "Legend");
TextDrawBackgroundColor(LeGend, 0xFF0A00FF);
TextDrawFont(LeGend , 2);
TextDrawLetterSize(LeGend , 0.7, 3.999999);
TextDrawColor(LeGend , 0xf5f5f5FF);
TextDrawSetOutline(LeGend , 1);
TextDrawSetProportional(LeGend , 1);
TextDrawSetShadow(LeGend , 1);*/
Drag = TextDrawCreate(525 ,398 , " ");
TextDrawBackgroundColor(Drag, 0xFF0A00FF);
TextDrawFont(Drag , 2);
TextDrawLetterSize(Drag , 0.7, 3.999999);
TextDrawColor(Drag , 0xFF0037FF);
TextDrawSetOutline(Drag , 1);
TextDrawSetProportional(Drag , 1);
TextDrawSetShadow(Drag , 1);
HillZone = GangZoneCreate(-369.566101, 1812.621948, -257.566101, 1908.621948);
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);
}
}
TextdrawZ0 = TextDrawCreate(615.000000, 360.000000, " ");
TextDrawBackgroundColor(TextdrawZ0, 255);
TextDrawFont(TextdrawZ0, 1);
TextDrawLetterSize(TextdrawZ0, 0.500000, 7.000000);
TextDrawColor(TextdrawZ0, -1);
TextDrawSetShadow(TextdrawZ0, 1);
TextDrawUseBox(TextdrawZ0, 1);
TextDrawBoxColor(TextdrawZ0, 85);
TextDrawTextSize(TextdrawZ0, 494.000000, 0.000000);
TextdrawZ1 = TextDrawCreate(530.000000, 359.000000, "STATS");
TextDrawBackgroundColor(TextdrawZ1, 255);
TextDrawFont(TextdrawZ1, 2);
TextDrawLetterSize(TextdrawZ1, 0.360000, 1.400000);
TextDrawColor(TextdrawZ1, -1);
TextDrawSetShadow(TextdrawZ1, 1);
TextdrawZ2 = TextDrawCreate(501.000000, 376.000000, "Kills");
TextDrawBackgroundColor(TextdrawZ2, 255);
TextDrawFont(TextdrawZ2, 1);
TextDrawLetterSize(TextdrawZ2, 0.500000, 1.000000);
TextDrawColor(TextdrawZ2, -1);
TextDrawSetShadow(TextdrawZ2, 1);
TextdrawZ3 = TextDrawCreate(501.000000, 387.000000, "Deaths");
TextDrawBackgroundColor(TextdrawZ3, 255);
TextDrawFont(TextdrawZ3, 1);
TextDrawLetterSize(TextdrawZ3, 0.500000, 1.000000);
TextDrawColor(TextdrawZ3, -1);
TextDrawSetShadow(TextdrawZ3, 1);
TextdrawZ4 = TextDrawCreate(501.000000, 399.000000, "Time");
TextDrawBackgroundColor(TextdrawZ4, 255);
TextDrawFont(TextdrawZ4, 1);
TextDrawLetterSize(TextdrawZ4, 0.500000, 1.000000);
TextDrawColor(TextdrawZ4, -1);
TextDrawSetShadow(TextdrawZ4, 1);
TextdrawZ5 = TextDrawCreate(501.000000, 410.000000, "Rank");
TextDrawBackgroundColor(TextdrawZ5, 255);
TextDrawFont(TextdrawZ5, 1);
TextDrawLetterSize(TextdrawZ5, 0.500000, 1.000000);
TextDrawColor(TextdrawZ5, -1);
TextDrawSetShadow(TextdrawZ5, 1);
Ntick = TextDrawCreate(5.0, 431.0, " www.gta-ivin.tk");
TextDrawBackgroundColor(Ntick, 0xFF0A00FF);
TextDrawFont(Ntick, 2);
TextDrawLetterSize(Ntick, 0.500000, 1.000000);
TextDrawColor(Ntick, 0xFFFFFFFF);
TextDrawSetOutline(Ntick, 1);
TextDrawSetProportional(Ntick, 1);
TextDrawSetShadow(Ntick, 1);
TextDrawAlignment(Ntick, 0);
Ntick1 = TextDrawCreate(5.0, 431.0, " ");
TextDrawBackgroundColor(Ntick1, 0xFF0A00FF);
TextDrawFont(Ntick1, 2);
TextDrawLetterSize(Ntick1, 0.500000, 1.000000);
TextDrawColor(Ntick1, 0x6d05f5FF);
TextDrawSetOutline(Ntick1, 1);
TextDrawSetProportional(Ntick1, 1);
TextDrawSetShadow(Ntick1, 1);
TextDrawAlignment(Ntick1, 0);
/*LeGend = TextDrawCreate(499 ,389 , "Legend");
TextDrawBackgroundColor(LeGend, 0xFF0A00FF);
TextDrawFont(LeGend , 2);
TextDrawLetterSize(LeGend , 0.7, 3.999999);
TextDrawColor(LeGend , 0xf5f5f5FF);
TextDrawSetOutline(LeGend , 1);
TextDrawSetProportional(LeGend , 1);
TextDrawSetShadow(LeGend , 1);*/
Drag = TextDrawCreate(525 ,398 , " ");
TextDrawBackgroundColor(Drag, 0xFF0A00FF);
TextDrawFont(Drag , 2);
TextDrawLetterSize(Drag , 0.7, 3.999999);
TextDrawColor(Drag , 0xFF0037FF);
TextDrawSetOutline(Drag , 1);
TextDrawSetProportional(Drag , 1);
TextDrawSetShadow(Drag , 1);
//==========================================================================
//////////// system time
// ÊÕªÑèÇâÁ§
TextdrawHour = TextDrawCreate(546.000000,22.000000,"--");
TextDrawAlignment(TextdrawHour,0);
TextDrawBackgroundColor(TextdrawHour,BLACK);
TextDrawFont(TextdrawHour,3);
TextDrawLetterSize(TextdrawHour,0.634,2.4);
TextDrawColor(TextdrawHour,0x00FF04FF);
TextDrawSetOutline(TextdrawHour,1);
TextDrawSetProportional(TextdrawHour,1);
TextDrawSetShadow(TextdrawHour,1);
//ÊÕ¹Ò·Õ
TextdrawMinute = TextDrawCreate(570.200000,22.000000,"--");
TextDrawAlignment(TextdrawMinute,0);
TextDrawBackgroundColor(TextdrawMinute,BLACK);
TextDrawFont(TextdrawMinute,3);
TextDrawLetterSize(TextdrawMinute,0.634,2.4);
TextDrawColor(TextdrawMinute,0xFFEE00FF);
TextDrawSetOutline(TextdrawMinute,1);
TextDrawSetProportional(TextdrawMinute,1);
TextDrawSetShadow(TextdrawMinute,1);
//ÊÕÇÔ¹Ò·Õ
TextdrawSeconds = TextDrawCreate(606.500000,33.000000,"--");
TextDrawAlignment(TextdrawSeconds,0);
TextDrawBackgroundColor(TextdrawSeconds,BLACK);
TextDrawFont(TextdrawSeconds,3);
TextDrawLetterSize(TextdrawSeconds,0.3,1.0);
TextDrawColor(TextdrawSeconds,0xFF0000FF);
TextDrawSetOutline(TextdrawSeconds,1);
TextDrawSetProportional(TextdrawSeconds,1);
TextDrawSetShadow(TextdrawSeconds,1);
//ÊÕÇѹ
TextdrawDay = TextDrawCreate(500.000000,10.000000,"--");
TextDrawAlignment(TextdrawDay,0);
TextDrawBackgroundColor(TextdrawDay,BLACK);
TextDrawFont(TextdrawDay,3);
TextDrawLetterSize(TextdrawDay,0.44,1.2);
TextDrawColor(TextdrawDay,0xFFFFFFFF);
TextDrawSetOutline(TextdrawDay,1);
TextDrawSetProportional(TextdrawDay,1);
TextDrawSetShadow(TextdrawDay,1);
//ÊÕà´×͹
TextdrawMonth = TextDrawCreate(515.000000,10.000000,"---------");
TextDrawAlignment(TextdrawMonth,0);
TextDrawBackgroundColor(TextdrawMonth,BLACK);
TextDrawFont(TextdrawMonth,3);
TextDrawLetterSize(TextdrawMonth,0.44,1.2);
TextDrawColor(TextdrawMonth,0xFF0033FF);
TextDrawSetOutline(TextdrawMonth,1);
TextDrawSetProportional(TextdrawMonth,1);
TextDrawSetShadow(TextdrawMonth,1);
//--------------------------------------------//
new Year, Month, Day;
new ServerHour, ServerMinute, ServerSecond;
getdate(Year, Month, Day);
gettime(ServerHour, ServerMinute, ServerSecond);
SetTimer("RemiX_Time_Tools", 1000, true);//
switch(Month)
{
case 1:{
TextDrawSetString(TextdrawMonth, " January");
// SetWeather(WinterWeather[winterrand]);
}
case 2:{
TextDrawSetString(TextdrawMonth, " February");
// SetWeather(WinterWeather[winterrand]);
}
case 3:{
TextDrawSetString(TextdrawMonth, " March");
/* if(Day <21){SetWeather(WinterWeather[winterrand]);}
else{SetWeather(SpringWeather[springrand]);}*/
}
case 4:{
TextDrawSetString(TextdrawMonth, " April");
// SetWeather(SpringWeather[springrand]);
}
case 5:{
TextDrawSetString(TextdrawMonth, " May");
// SetWeather(SpringWeather[springrand]);
}
case 6:{
TextDrawSetString(TextdrawMonth, " June");
// if(Day <21){SetWeather(SpringWeather[springrand]);}
// else{SetWeather(SummerWeather[summerrand]);}
}
case 7:{
TextDrawSetString(TextdrawMonth, " July");
// SetWeather(SummerWeather[summerrand]);
}
case 8:{
TextDrawSetString(TextdrawMonth, " August");
// SetWeather(SummerWeather[summerrand]);
}
case 9:{
TextDrawSetString(TextdrawMonth, " September");
//if(Day <21){SetWeather(SummerWeather[summerrand]);}
// else{SetWeather(AutumnWeather[autumnrand]);}
}
case 10:{
TextDrawSetString(TextdrawMonth, " October");
// SetWeather(AutumnWeather[autumnrand]);
}
case 11:{
TextDrawSetString(TextdrawMonth, " November");
// SetWeather(AutumnWeather[autumnrand]);
}
case 12:{
TextDrawSetString(TextdrawMonth, " December");
// if(Day <21){SetWeather(AutumnWeather[autumnrand]);}
// else{SetWeather(WinterWeather[winterrand]);}
}
}
if(ServerHour == 22){SetWorldTime(22);} //Can't be different. I don't know why, but otherwise you get a atomic bomb weather.
else{SetWorldTime(ServerHour);} |
|