public OnGameModeInit()
{
Textdraw = TextDrawCreate(115.000000,425.000000,"[mGo]Server Beta Testes");
TextDrawAlignment(Textdraw,0);
TextDrawBackgroundColor(Textdraw,0x00000099);
TextDrawFont(Textdraw,3);
TextDrawLetterSize(Textdraw,1.000000,2.000000);
TextDrawColor(Textdraw,0x00ff0099);
TextDrawSetShadow(Textdraw,1);
topblack = TextDrawCreate(1.000000,-45.000000,"__");
bottomblack = TextDrawCreate(-2.000000,371.000000,"__");
TextDrawUseBox(topblack,1);
TextDrawBoxColor(topblack,0x000000ff);
TextDrawTextSize(topblack,655.000000,80.000000);
TextDrawUseBox(bottomblack,1);
TextDrawBoxColor(bottomblack,0x000000ff);
TextDrawTextSize(bottomblack,840.000000,240.000000 );
TextDrawAlignment(topblack,0);
TextDrawAlignment(bottomblack,0);
TextDrawBackgroundColor(topblack,0x000000ff);
TextDrawBackgroundColor(bottomblack,0x000000ff);
TextDrawFont(topblack,3);
TextDrawLetterSize(topblack,1.000000,14.000000);
TextDrawFont(bottomblack,3);
TextDrawLetterSize(bottomblack,1.000000,24.000000) ;
TextDrawColor(topblack,0xffffffff);
TextDrawColor(bottomblack,0xffffffff);
TextDrawSetOutline(topblack,1);
TextDrawSetOutline(bottomblack,1);
TextDrawSetProportional(topblack,1);
TextDrawSetProportional(bottomblack,1);
TextDrawSetShadow(topblack,1);
TextDrawSetShadow(bottomblack,1);
txtTimeDisp = TextDrawCreate(605.0,25.0,"00:00");
TextDrawUseBox(txtTimeDisp, 0);
TextDrawFont(txtTimeDisp, 3);
TextDrawSetShadow(txtTimeDisp,0); // no shadow
TextDrawSetOutline(txtTimeDisp,2); // thickness 1
TextDrawBackgroundColor(txtTimeDisp,0x000000FF);
TextDrawColor(txtTimeDisp,0xFFFFFFFF);
TextDrawAlignment(txtTimeDisp,3);
TextDrawLetterSize(txtTimeDisp,0.5,1.5);
UpdateTime();
SetTimer("UpdateTime",1000 * 60,1);
Grove = GangZoneCreate(2181.981, -1752.921, 2607.899, -1468.684);
Balla = GangZoneCreate(1752.261, -1358.147, 2143.953, -1113.387);
Vagos = GangZoneCreate(2136.347, -1141.021, 2801.844, -1014.694);
Aztecas = GangZoneCreate(1565.922, -2171.382, 1972.825, -1760.817);
SetGameModeText("[mGo]Tournament Server");
ShowPlayerMarkers(1);
SetWeather(32);
SetWorldTime(20);
AllowInteriorWeapons(0);
ShowNameTags(1);
|