Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- DeathMatch Starling City
- © v1.0 by Shomy
- Informacije o modu:
- Radio - Shomy
- Mod pocet - 28.12.2017.
- Mod zavrsen - 4.1.2018.
- Skripta ima 2211 linija
- SC:DM
- */
- // INCLUDE //
- #include < a_samp >
- #include < YSI\y_ini >
- #include < YSI\y_commands >
- #include < sscanf2 >
- #include < foreach >
- // DEFINE //
- #undef MAX_PLAYERS
- #define MAX_PLAYERS 100
- #define MAX_VOZILA 1000
- #define PATH "/Korisnici/%s.ini"
- #define VOZILA_FILE "/Vozila/%d.ini"
- #define TERITORIJE_FILE "/Teritorije/%s.ini"
- #define SCM SendClientMessage
- #define SCMTA SendClientMessageToAll
- #define SPD ShowPlayerDialog
- #define DSM DIALOG_STYLE_MSGBOX
- #define DSL DIALOG_STYLE_LIST
- #define DSI DIALOG_STYLE_INPUT
- #define IPI INVALID_PLAYER_ID
- #define ZELENA 0x008000FF
- #define BELA 0xFFFFFFFF
- #define COL_SERVER "{008000}"
- #define COL_BELA "{FFFFFF}"
- #define DIALOG_REGISTER 1
- #define DIALOG_LOGIN 2
- #define DIALOG_EMAIL 3
- #define DIALOG_GUNMENU 4
- #define DIALOG_GUNMENU1 5
- // ENUM //
- enum pInfo
- {
- pLozinka,
- pNovac,
- pAdmin,
- pUbistva,
- pSmrti,
- pTim,
- pPol,
- pSkin,
- pLevel
- }
- enum vInfo
- {
- Float:PosX,
- Float:PosY,
- Float:PosZ,
- Float:RotA,
- Boja1,
- Boja2,
- vTim,
- vID,
- Model
- }
- // NEW //
- new PlayerInfo[ MAX_PLAYERS ][ pInfo ];
- new PlayerText:RegisterTD[ MAX_PLAYERS ][ 47 ], PlayerText:InGameTD[MAX_PLAYERS][18];
- new LoginPokusaji[ MAX_PLAYERS ], bool:IzabraoLozinku[ MAX_PLAYERS ], bool:IzabraoEmail[ MAX_PLAYERS ], Stranica[ MAX_PLAYERS ];
- new PlayerText:OdabirTimaTD[ MAX_PLAYERS ][ 24 ];
- new bool:KreiraoVozilo[ MAX_PLAYERS ];
- new bool:KapijaSWATOtvorena;
- new KapijaMoveT, Kapije[ 4 ], KapijaMoveVT, KapijaMoveAT;
- new bool:KapijaARMYOtvorena, bool:KapijaARMY1Otvorena;
- new RPorukeT[ MAX_PLAYERS ];
- new OnlineIgraci = 0, RekordIgraca;
- new VehInfo[ MAX_VOZILA ][ vInfo ], Text3D:VehLabel[ sizeof(VehInfo) ], KreiranaVozila = 0;
- new gangzone[ 3 ];
- new zballaspickup, zgsfpickup, zlsvpickup;
- new Text3D:zballaslabel, Text3D:zgsflabel, Text3D:zlsvlabel;
- new bool:Zauzima[ MAX_PLAYERS ];
- new ballaszt, gsfzt, lsvzt;
- new BallasZauzetOdStrane, GSFZauzetOdStrane, LSVZauzetOdStrane;
- new String[128], Float:SpecX[MAX_PLAYERS], Float:SpecY[MAX_PLAYERS], Float:SpecZ[MAX_PLAYERS], vWorld[MAX_PLAYERS], Inter[MAX_PLAYERS];
- new IsSpecing[MAX_PLAYERS], Name[MAX_PLAYER_NAME], IsBeingSpeced[MAX_PLAYERS],spectatorid[MAX_PLAYERS];
- new bool:TestUkljucen;
- new RandomPorukeTD[ ][ 100 ] =
- {
- "Trenutno_igrate_na_SCDM_v1.0_modu_by_Shomy",
- "Zelite da promenite tim? Kucajte /promeniteam",
- "Oruzje mozete kupiti komandom /gunmenu",
- "Vidite citera? Prijavite ga komandom /report"
- };
- // PUBLIC //
- main() {
- print("= Starling City DeathMatch =\n");
- print("v1.0 gamemode - Loading...");
- print("v1.0 gamemode - Loaded.");
- print("v1.0 gamemode by Shomy\n");
- print("= Starling City DeathMatch =");
- }
- forward KolkoJeSadaRekord();
- public KolkoJeSadaRekord()
- {
- new strFromFile[24], arrCoords[6][5], File: file = fopen("rekord.txt", io_read);
- if ( file )
- {
- fread( file, strFromFile );
- razdvajanje( strFromFile, arrCoords, ',' );
- RekordIgraca = strval( arrCoords[0] );
- fclose( file );
- }
- return 1;
- }
- forward LoadUser_data(playerid,name[],value[]);
- public LoadUser_data(playerid,name[],value[])
- {
- INI_Int("Lozinka",PlayerInfo[playerid][pLozinka]);
- INI_Int("Novac",PlayerInfo[playerid][pNovac]);
- INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
- INI_Int("Ubistva",PlayerInfo[playerid][pUbistva]);
- INI_Int("Smrti",PlayerInfo[playerid][pSmrti]);
- INI_Int("Pol",PlayerInfo[playerid][pPol]);
- INI_Int("Tim",PlayerInfo[playerid][pTim]);
- INI_Int("Level",PlayerInfo[playerid][pLevel]);
- INI_Int("Skin",PlayerInfo[playerid][pSkin]);
- return 1;
- }
- forward RandomPoruke(playerid);
- public RandomPoruke(playerid)
- {
- new str[ 50 ];
- format(str,sizeof(str), "%s", RandomPorukeTD[ random( sizeof( RandomPorukeTD ) ) ]);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 10 ], str);
- return 1;
- }
- forward VremeDatumTimer(playerid);
- public VremeDatumTimer(playerid)
- {
- new h,m,s,str[ 30 ];
- gettime(h,m,s);
- format(str, sizeof(str), "%s%d:%s%d:%s%d", (h < 10) ? ("0") : (""), h, (m < 10) ? ("0") : (""), m, (s < 10) ? ("0") : (""), s);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 4 ], str);
- new god,mes,dan,str1[ 30 ];
- getdate(god,mes,dan);
- format(str1, sizeof(str1), "%d.%d.%d.", dan, mes, god);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 5 ], str1);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- Stranica[ playerid ] = 0;
- TogglePlayerControllable(playerid, true);
- TogglePlayerSpectating(playerid, false);
- GivePlayerWeapon(playerid, 24, 100);
- GivePlayerWeapon(playerid, 30, 100);
- for(new i; i < 18; i++) { PlayerTextDrawShow(playerid, InGameTD[ playerid ][ i ]); }
- RPorukeT[ playerid ] = SetTimerEx("RandomPoruke", 10000, true, "i", playerid);
- SetTimerEx("VremeDatumTimer", 1000, true, "i", playerid);
- new str[ 15 ];
- format(str,sizeof(str), "Online_%d", OnlineIgraci);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 16 ], str);
- new str1[ 15 ];
- format(str1,sizeof(str1), "Rekord_%d", RekordIgraca);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 17 ], str1);
- new str2[ 15 ];
- format(str2,sizeof(str2), "Kills - %d", PlayerInfo[ playerid ][ pUbistva ]);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 0 ], str2);
- new str3[ 15 ];
- format(str3,sizeof(str3), "Deaths - %d", PlayerInfo[ playerid ][ pSmrti ]);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 1 ], str3);
- new str4[ 15 ];
- format(str4,sizeof(str4), "Score - %d", GetPlayerScore(playerid));
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 2 ], str4);
- GangZoneShowForPlayer(playerid, gangzone[ 0 ], 0x008000AA); // GSF
- GangZoneShowForPlayer(playerid, gangzone[ 1 ], 0xE5FF00AA); // LSV
- GangZoneShowForPlayer(playerid, gangzone[ 2 ], 0x6F00FFAA); // BALLAS
- return 1;
- }
- forward OcitajVozilo(id, name[], value[]);
- public OcitajVozilo(id, name[], value[])
- {
- INI_Float("LokacijaX", VehInfo[ id ][ PosX ]);
- INI_Float("LokacijaY", VehInfo[ id ][ PosY ]);
- INI_Float("LokacijaZ", VehInfo[ id ][ PosZ ]);
- INI_Float("RotacijaA", VehInfo[ id ][ RotA ]);
- INI_Int("VehTim", VehInfo[ id ][ vTim ]);
- INI_Int("Boja1", VehInfo[ id ][ Boja1 ]);
- INI_Int("Boja2", VehInfo[ id ][ Boja2 ]);
- INI_Int("Model", VehInfo[ id ][ Model ]);
- return 1;
- }
- public OnGameModeInit()
- {
- SetGameModeText("SCDM v1.0 by Shomy");
- Kapije[ 0 ] = CreateObject(980, 1465.67749, -1491.20459, 15.29210, 0.00000, 0.00000, 90.00000);
- Kapije[ 1 ] = CreateObject(980, 1465.62134, -1502.65735, 15.29210, 0.00000, 0.00000, 269.61078);
- Kapije[ 2 ] = CreateObject(980, 2720.04370, -2405.55933, 12.54500, 0.00000, 0.00000, 90.00000);
- Kapije[ 3 ] = CreateObject(980, 2720.20825, -2504.04053, 12.54500, 0.00000, 0.00000, 90.00000);
- CreateObject(8210, 1544.77551, -1493.58203, 15.41752, 0.00000, 0.00000, 90.00000);
- DisableInteriorEnterExits();
- KolkoJeSadaRekord();
- LoadVeh();
- gangzone[ 0 ] = GangZoneCreate(2428.0840,-1629.1228, 2542.9517,-1720.6327); // GSF
- gangzone[ 1 ] = GangZoneCreate(2531.5193,-1053.8260, 2628.6301,-1131.9449); // LSV
- gangzone[ 2 ] = GangZoneCreate(2122.3401,-1508.7163, 2202.6970,-1393.9833); // BALLAS
- zballaspickup = CreatePickup(1254, 1, 2126.0322,-1445.4745,23.9910, -1);
- zballaslabel = Create3DTextLabel("[ Ballas ]\n{FFFFFF}/zauzmi", 0x6F00FFFF, 2126.0322,-1445.4745,23.9910, 15.0, 0, 0);
- zgsfpickup = CreatePickup(1254, 1, 2490.3318,-1668.3350,13.3438, -1);
- zgsflabel = Create3DTextLabel("[ GSF ]\n{FFFFFF}/zauzmi", ZELENA, 2490.3318,-1668.3350,13.3438, 15.0, 0, 0);
- zlsvpickup = CreatePickup(1254, 1, 2575.6936,-1123.5803,65.5335, -1);
- zlsvlabel = Create3DTextLabel("[ LS Vagos ]\n{FFFFFF}/zauzmi", 0xFFFF00FF, 2575.6936,-1123.5803,65.5335, 15.0, 0, 0);
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(newkeys == KEY_CROUCH)
- {
- if(IsPlayerInRangeOfPoint(playerid, 4.0, 1465.2678,-1496.9513,13.5469))
- {
- if(PlayerInfo[ playerid ][ pTim ] == 4 || PlayerInfo[ playerid ][ pTim ] == 5)
- {
- if(!KapijaSWATOtvorena)
- {
- MoveObject(Kapije[ 0 ], 1465.67749, -1484.4369, 15.29210, 3.0);
- MoveObject(Kapije[ 1 ], 1465.67749, -1509.9569, 15.29210, 3.0);
- KapijaMoveT = SetTimerEx("KapijaMove", 10000, false, "i", playerid);
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Otvorili ste kapiju, zatvorice se automatski za 10 sekundi.");
- KapijaSWATOtvorena = true;
- }
- else
- {
- MoveObject(Kapije[ 0 ], 1465.67749, -1491.20459, 15.29210, 3.0);
- MoveObject(Kapije[ 1 ], 1465.62134, -1502.65735, 15.29210, 3.0);
- KillTimer(KapijaMoveT);
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Zatvorili ste kapiju.");
- KapijaSWATOtvorena = false;
- }
- }
- }
- else if(IsPlayerInRangeOfPoint(playerid, 4.0, 2720.2083, -2504.0405, 12.5450))
- {
- if(PlayerInfo[ playerid ][ pTim ] == 4 || PlayerInfo[ playerid ][ pTim ] == 5)
- {
- if(!KapijaARMYOtvorena)
- {
- MoveObject(Kapije[ 3 ], 2720.2083, -2504.0405, 9.7726, 3.0);
- KapijaMoveVT = SetTimerEx("KapijaMoveAR", 10000, false, "i", playerid);
- KapijaARMYOtvorena = true;
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Otvorili ste kapiju, zatvorice se automatski za 10 sekundi.");
- }
- else
- {
- MoveObject(Kapije[ 3 ], 2720.2083, -2504.0405, 12.54500, 3.0);
- KillTimer(KapijaMoveVT);
- KapijaARMYOtvorena = false;
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Zatvorili ste kapiju.");
- }
- }
- }
- else if(IsPlayerInRangeOfPoint(playerid, 4.0, 2720.04370, -2405.55933, 12.54500))
- {
- if(PlayerInfo[ playerid ][ pTim ] == 4 || PlayerInfo[ playerid ][ pTim ] == 5)
- {
- if(!KapijaARMY1Otvorena)
- {
- MoveObject(Kapije[ 2 ], 2720.04370, -2405.55933, 9.7726, 3.0);
- KapijaMoveAT = SetTimerEx("KapijaMoveARM", 10000, false, "i", playerid);
- KapijaARMY1Otvorena = true;
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Otvorili ste kapiju, zatvorice se automatski za 10 sekundi.");
- }
- else
- {
- MoveObject(Kapije[ 2 ], 2720.04370, -2405.55933, 12.54500, 3.0);
- KillTimer(KapijaMoveAT);
- KapijaARMY1Otvorena = false;
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Zatvorili ste kapiju.");
- }
- }
- }
- }
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == zballaspickup) return 0;
- else if(pickupid == zgsfpickup) return 0;
- else if(pickupid == zlsvpickup) return 0;
- return 1;
- }
- forward KapijaMoveARM();
- public KapijaMoveARM()
- {
- MoveObject(Kapije[ 2 ], 2720.04370, -2405.55933, 12.54500, 3.0);
- KapijaARMY1Otvorena = false;
- return 1;
- }
- forward KapijaMoveAR();
- public KapijaMoveAR()
- {
- MoveObject(Kapije[ 3 ], 2720.2083, -2504.0405, 12.54500, 3.0);
- KapijaARMYOtvorena = false;
- return 1;
- }
- forward KapijaMove();
- public KapijaMove()
- {
- MoveObject(Kapije[ 0 ], 1465.67749, -1491.20459, 15.29210, 3.0);
- MoveObject(Kapije[ 1 ], 1465.62134, -1502.65735, 15.29210, 3.0);
- KapijaSWATOtvorena = false;
- return 1;
- }
- forward CuvanjeRekorda();
- public CuvanjeRekorda()
- {
- new str[ 24 ];
- format(str, sizeof(str), "%d", RekordIgraca);
- new File: file = fopen("rekord.txt", io_write);
- fwrite(file, str);
- fclose(file);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- OnlineIgraci++;
- new online[ 15 ];
- format(online,sizeof(online), "Online_%d", OnlineIgraci);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 16 ], online);
- if(OnlineIgraci > RekordIgraca)
- {
- RekordIgraca = OnlineIgraci;
- new str[ 100 ];
- format(str,sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"Novi rekord servera iznosi %d igraca, hvala vam !",RekordIgraca);
- SCMTA(-1, str);
- CuvanjeRekorda();
- new rekord[ 15 ];
- format(rekord,sizeof(rekord), "Rekord_%d", RekordIgraca);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 17 ], rekord);
- }
- // In Game TD //
- InGameTD[playerid][0] = CreatePlayerTextDraw(playerid, 522.941223, 107.166664, "Kills_-_1000");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][0], 0.237647, 0.900000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][0], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][0], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][0], 1);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][0], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][0], 2);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][0], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][0], 0);
- InGameTD[playerid][1] = CreatePlayerTextDraw(playerid, 515.411926, 116.500007, "Deaths_-_1000");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][1], 0.237647, 0.900000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][1], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][1], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][1], 1);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][1], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][1], 2);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][1], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][1], 0);
- InGameTD[playerid][2] = CreatePlayerTextDraw(playerid, 519.647155, 126.416687, "Score_-_1000");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][2], 0.237647, 0.900000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][2], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][2], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][2], 1);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][2], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][2], 2);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][2], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][2], 0);
- InGameTD[playerid][3] = CreatePlayerTextDraw(playerid, -3.705882, 432.083435, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][3], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, InGameTD[playerid][3], 649.000000, 23.000000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][3], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][3], 255);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][3], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][3], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][3], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][3], 4);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][3], 0);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][3], 0);
- InGameTD[playerid][4] = CreatePlayerTextDraw(playerid, 16.588230, 435.583312, "12:02:15");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][4], 0.287529, 1.063333);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][4], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][4], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][4], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][4], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][4], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][4], 1);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][4], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][4], 0);
- InGameTD[playerid][5] = CreatePlayerTextDraw(playerid, 570.000061, 436.166687, "12.15.2017.");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][5], 0.287529, 1.063333);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][5], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][5], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][5], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][5], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][5], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][5], 1);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][5], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][5], 0);
- InGameTD[playerid][6] = CreatePlayerTextDraw(playerid, 178.882369, 428.000091, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][6], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, InGameTD[playerid][6], 27.000000, 26.000000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][6], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][6], 8388863);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][6], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][6], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][6], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][6], 4);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][6], 0);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][6], 0);
- InGameTD[playerid][7] = CreatePlayerTextDraw(playerid, 424.058502, 428.000122, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][7], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, InGameTD[playerid][7], 27.000000, 26.000000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][7], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][7], 8388863);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][7], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][7], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][7], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][7], 4);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][7], 0);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][7], 0);
- InGameTD[playerid][8] = CreatePlayerTextDraw(playerid, 554.940979, 10.916679, "Starling_City");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][8], 0.234823, 1.401666);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][8], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][8], 8388863);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][8], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][8], 1);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][8], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][8], 2);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][8], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][8], 0);
- InGameTD[playerid][9] = CreatePlayerTextDraw(playerid, 546.470520, 23.166677, "DeathMatch_server");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][9], 0.190588, 1.267499);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][9], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][9], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][9], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][9], 1);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][9], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][9], 2);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][9], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][9], 0);
- InGameTD[playerid][10] = CreatePlayerTextDraw(playerid, 208.117645, 435.583374, "Trenutno_igrate_na_SCDM_v1.0_modu_by_Shomy");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][10], 0.272941, 1.063333);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][10], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][10], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][10], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][10], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][10], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][10], 1);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][10], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][10], 0);
- InGameTD[playerid][11] = CreatePlayerTextDraw(playerid, -11.235285, 427.416809, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][11], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, InGameTD[playerid][11], 27.000000, 26.000000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][11], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][11], 8388863);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][11], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][11], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][11], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][11], 4);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][11], 0);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][11], 0);
- InGameTD[playerid][12] = CreatePlayerTextDraw(playerid, 623.588256, 427.416870, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][12], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, InGameTD[playerid][12], 27.000000, 26.000000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][12], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][12], 8388863);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][12], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][12], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][12], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][12], 4);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][12], 0);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][12], 0);
- InGameTD[playerid][13] = CreatePlayerTextDraw(playerid, 2.413812, 432.083374, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][13], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, InGameTD[playerid][13], 636.000000, 1.000000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][13], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][13], 8388863);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][13], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][13], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][13], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][13], 4);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][13], 0);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][13], 0);
- InGameTD[playerid][14] = CreatePlayerTextDraw(playerid, 181.235305, 429.750091, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][14], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, InGameTD[playerid][14], 22.000000, 22.000000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][14], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][14], 255);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][14], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][14], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][14], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][14], 4);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][14], 0);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][14], 0);
- InGameTD[playerid][15] = CreatePlayerTextDraw(playerid, 426.411651, 430.333526, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][15], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, InGameTD[playerid][15], 22.000000, 22.000000);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][15], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][15], 255);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][15], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][15], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][15], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][15], 4);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][15], 0);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][15], 0);
- InGameTD[playerid][16] = CreatePlayerTextDraw(playerid, 98.941177, 434.999969, "Online_1000");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][16], 0.287529, 1.063333);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][16], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][16], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][16], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][16], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][16], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][16], 1);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][16], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][16], 0);
- InGameTD[playerid][17] = CreatePlayerTextDraw(playerid, 470.705993, 435.583282, "Rekord_1000");
- PlayerTextDrawLetterSize(playerid, InGameTD[playerid][17], 0.287529, 1.063333);
- PlayerTextDrawAlignment(playerid, InGameTD[playerid][17], 1);
- PlayerTextDrawColor(playerid, InGameTD[playerid][17], -1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][17], 0);
- PlayerTextDrawSetOutline(playerid, InGameTD[playerid][17], 0);
- PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][17], 255);
- PlayerTextDrawFont(playerid, InGameTD[playerid][17], 1);
- PlayerTextDrawSetProportional(playerid, InGameTD[playerid][17], 1);
- PlayerTextDrawSetShadow(playerid, InGameTD[playerid][17], 0);
- // ODABIR TIMA TD //
- OdabirTimaTD[playerid][0] = CreatePlayerTextDraw(playerid, 137.470672, 102.500007, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][0], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][0], 376.000000, 265.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][0], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][0], 255);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][0], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][0], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][0], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][0], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][0], 0);
- OdabirTimaTD[playerid][1] = CreatePlayerTextDraw(playerid, 336.999725, 96.083335, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][1], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][1], 34.000000, 36.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][1], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][1], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][1], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][1], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][1], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][1], 0);
- OdabirTimaTD[playerid][2] = CreatePlayerTextDraw(playerid, 280.999969, 101.916641, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][2], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][2], 73.000000, 24.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][2], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][2], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][2], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][2], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][2], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][2], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][2], 0);
- OdabirTimaTD[playerid][3] = CreatePlayerTextDraw(playerid, 285.294036, 104.250022, "Odabir_Tima");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][3], 0.260235, 1.815833);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][3], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][3], 255);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][3], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][3], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][3], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][3], 2);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][3], 1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][3], 0);
- OdabirTimaTD[playerid][4] = CreatePlayerTextDraw(playerid, 137.470626, 134.000015, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][4], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][4], 84.000000, 103.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][4], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][4], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][4], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][4], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][4], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][4], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][4], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][4], 0);
- PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][4], true);
- OdabirTimaTD[playerid][5] = CreatePlayerTextDraw(playerid, 274.882202, 134.583343, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][5], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][5], 84.000000, 103.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][5], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][5], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][5], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][5], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][5], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][5], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][5], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][5], 0);
- PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][5], true);
- OdabirTimaTD[playerid][6] = CreatePlayerTextDraw(playerid, 429.705627, 135.750030, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][6], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][6], 84.000000, 103.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][6], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][6], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][6], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][6], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][6], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][6], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][6], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][6], 0);
- PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][6], true);
- OdabirTimaTD[playerid][7] = CreatePlayerTextDraw(playerid, 205.705688, 264.083374, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][7], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][7], 84.000000, 103.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][7], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][7], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][7], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][7], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][7], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][7], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][7], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][7], 0);
- PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][7], true);
- OdabirTimaTD[playerid][8] = CreatePlayerTextDraw(playerid, 351.588012, 264.083374, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][8], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][8], 84.000000, 103.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][8], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][8], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][8], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][8], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][8], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][8], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][8], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][8], 0);
- PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][8], true);
- OdabirTimaTD[playerid][9] = CreatePlayerTextDraw(playerid, 140.294113, 139.833358, "");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][9], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][9], 72.000000, 80.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][9], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][9], -1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][9], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][9], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][9], 1090519040);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][9], 5);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][9], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][9], 0);
- PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][9], 107);
- PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][9], 0.000000, 0.000000, 0.000000, 1.000000);
- OdabirTimaTD[playerid][10] = CreatePlayerTextDraw(playerid, 280.529449, 143.333374, "");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][10], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][10], 72.000000, 80.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][10], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][10], -1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][10], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][10], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][10], 1090519040);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][10], 5);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][10], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][10], 0);
- PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][10], 104);
- PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][10], 0.000000, 0.000000, 0.000000, 1.000000);
- OdabirTimaTD[playerid][11] = CreatePlayerTextDraw(playerid, 436.294158, 142.750045, "");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][11], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][11], 72.000000, 80.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][11], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][11], -1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][11], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][11], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][11], 1090519040);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][11], 5);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][11], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][11], 0);
- PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][11], 108);
- PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][11], 0.000000, 0.000000, 0.000000, 1.000000);
- OdabirTimaTD[playerid][12] = CreatePlayerTextDraw(playerid, 209.000045, 276.333404, "");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][12], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][12], 72.000000, 80.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][12], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][12], -1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][12], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][12], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][12], 1090519040);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][12], 5);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][12], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][12], 0);
- PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][12], 285);
- PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][12], 0.000000, 0.000000, 0.000000, 1.000000);
- OdabirTimaTD[playerid][13] = CreatePlayerTextDraw(playerid, 358.647003, 275.166778, "");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][13], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][13], 72.000000, 80.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][13], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][13], -1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][13], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][13], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][13], 1090519040);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][13], 5);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][13], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][13], 0);
- PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][13], 287);
- PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][13], 0.000000, 0.000000, 0.000000, 1.000000);
- OdabirTimaTD[playerid][14] = CreatePlayerTextDraw(playerid, 163.411758, 223.833343, "GSF");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][14], 0.352470, 1.302499);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][14], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][14], 255);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][14], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][14], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][14], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][14], 2);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][14], 1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][14], 0);
- OdabirTimaTD[playerid][15] = CreatePlayerTextDraw(playerid, 289.529388, 224.416656, "Ballas");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][15], 0.352470, 1.302499);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][15], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][15], 255);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][15], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][15], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][15], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][15], 2);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][15], 1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][15], 0);
- OdabirTimaTD[playerid][16] = CreatePlayerTextDraw(playerid, 438.235321, 224.999984, "LS_Vagos");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][16], 0.352470, 1.302499);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][16], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][16], 255);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][16], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][16], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][16], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][16], 2);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][16], 1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][16], 0);
- OdabirTimaTD[playerid][17] = CreatePlayerTextDraw(playerid, 220.823547, 354.500030, "S.W.A.T");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][17], 0.352470, 1.302499);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][17], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][17], 255);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][17], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][17], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][17], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][17], 2);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][17], 1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][17], 0);
- OdabirTimaTD[playerid][18] = CreatePlayerTextDraw(playerid, 375.647064, 354.499938, "Army");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][18], 0.352470, 1.302499);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][18], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][18], 255);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][18], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][18], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][18], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][18], 2);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][18], 1);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][18], 0);
- OdabirTimaTD[playerid][19] = CreatePlayerTextDraw(playerid, 266.882049, 96.083335, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][19], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][19], 34.000000, 36.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][19], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][19], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][19], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][19], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][19], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][19], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][19], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][19], 0);
- OdabirTimaTD[playerid][20] = CreatePlayerTextDraw(playerid, 510.646881, 101.916664, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][20], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][20], 3.000000, 266.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][20], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][20], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][20], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][20], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][20], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][20], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][20], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][20], 0);
- OdabirTimaTD[playerid][21] = CreatePlayerTextDraw(playerid, 137.470657, 102.500000, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][21], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][21], 3.000000, 266.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][21], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][21], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][21], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][21], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][21], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][21], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][21], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][21], 0);
- OdabirTimaTD[playerid][22] = CreatePlayerTextDraw(playerid, 137.470642, 100.750007, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][22], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][22], 376.000000, 2.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][22], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][22], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][22], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][22], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][22], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][22], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][22], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][22], 0);
- OdabirTimaTD[playerid][23] = CreatePlayerTextDraw(playerid, 137.000045, 366.750091, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][23], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][23], 376.000000, 2.000000);
- PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][23], 1);
- PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][23], 8388863);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][23], 0);
- PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][23], 0);
- PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][23], 255);
- PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][23], 4);
- PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][23], 0);
- PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][23], 0);
- // REGISTER TD //
- RegisterTD[playerid][0] = CreatePlayerTextDraw(playerid, 203.352966, 100.166648, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][0], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][0], 225.000000, 284.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][0], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][0], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][0], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][0], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][0], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][0], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][0], 0);
- RegisterTD[playerid][1] = CreatePlayerTextDraw(playerid, 205.705902, 102.499977, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][1], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][1], 220.000000, 278.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][1], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][1], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][1], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][1], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][1], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][1], 0);
- RegisterTD[playerid][2] = CreatePlayerTextDraw(playerid, 251.823623, 94.916671, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][2], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][2], 29.000000, 33.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][2], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][2], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][2], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][2], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][2], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][2], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][2], 0);
- RegisterTD[playerid][3] = CreatePlayerTextDraw(playerid, 349.235260, 94.916679, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][3], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][3], 29.000000, 33.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][3], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][3], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][3], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][3], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][3], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][3], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][3], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][3], 0);
- RegisterTD[playerid][4] = CreatePlayerTextDraw(playerid, 263.588256, 101.333320, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][4], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][4], 102.000000, 21.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][4], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][4], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][4], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][4], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][4], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][4], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][4], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][4], 0);
- RegisterTD[playerid][5] = CreatePlayerTextDraw(playerid, 266.000061, 103.083335, "REGISTRACIJA");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][5], 0.338823, 1.547500);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][5], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][5], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][5], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][5], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][5], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][5], 2);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][5], 1);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][5], 0);
- RegisterTD[playerid][6] = CreatePlayerTextDraw(playerid, 204.764709, 155.583297, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][6], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][6], 222.000000, 20.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][6], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][6], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][6], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][6], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][6], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][6], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][6], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][6], 0);
- RegisterTD[playerid][7] = CreatePlayerTextDraw(playerid, 215.176589, 157.333343, "_______Dobrodosao_shomy_falconee,~n~na_starling_city_deathmatch_server.");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][7], 0.246117, 0.876666);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][7], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][7], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][7], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][7], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][7], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][7], 2);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][7], 1);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][7], 0);
- RegisterTD[playerid][8] = CreatePlayerTextDraw(playerid, 205.235260, 214.500000, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][8], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][8], 70.000000, 16.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][8], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][8], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][8], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][8], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][8], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][8], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][8], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][8], 0);
- PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][8], true);
- RegisterTD[playerid][9] = CreatePlayerTextDraw(playerid, 264.058868, 210.416656, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][9], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][9], 21.000000, 24.399999);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][9], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][9], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][9], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][9], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][9], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][9], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][9], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][9], 0);
- RegisterTD[playerid][10] = CreatePlayerTextDraw(playerid, 203.352966, 99.583328, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][10], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][10], 9.000000, 10.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][10], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][10], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][10], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][10], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][10], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][10], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][10], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][10], 0);
- RegisterTD[playerid][11] = CreatePlayerTextDraw(playerid, 419.823425, 100.166656, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][11], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][11], 9.000000, 10.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][11], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][11], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][11], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][11], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][11], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][11], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][11], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][11], 0);
- RegisterTD[playerid][12] = CreatePlayerTextDraw(playerid, 419.352813, 374.333374, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][12], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][12], 9.000000, 10.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][12], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][12], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][12], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][12], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][12], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][12], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][12], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][12], 0);
- RegisterTD[playerid][13] = CreatePlayerTextDraw(playerid, 202.882202, 374.333374, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][13], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][13], 9.000000, 10.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][13], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][13], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][13], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][13], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][13], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][13], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][13], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][13], 0);
- RegisterTD[playerid][14] = CreatePlayerTextDraw(playerid, 268.764434, 223.833282, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][14], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][14], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][14], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][14], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][14], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][14], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][14], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][14], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][14], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][14], 0);
- RegisterTD[playerid][15] = CreatePlayerTextDraw(playerid, 272.529083, 219.166610, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][15], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][15], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][15], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][15], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][15], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][15], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][15], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][15], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][15], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][15], 0);
- RegisterTD[playerid][16] = CreatePlayerTextDraw(playerid, 268.764404, 215.083282, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][16], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][16], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][16], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][16], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][16], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][16], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][16], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][16], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][16], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][16], 0);
- RegisterTD[playerid][17] = CreatePlayerTextDraw(playerid, 210.941146, 214.499984, "LOZINKA");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][17], 0.247529, 1.489166);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][17], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][17], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][17], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][17], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][17], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][17], 2);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][17], 1);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][17], 0);
- RegisterTD[playerid][18] = CreatePlayerTextDraw(playerid, 357.705566, 214.500045, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][18], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][18], 70.000000, 16.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][18], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][18], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][18], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][18], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][18], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][18], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][18], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][18], 0);
- PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][18], true);
- RegisterTD[playerid][19] = CreatePlayerTextDraw(playerid, 347.352905, 210.416656, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][19], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][19], 21.000000, 24.399999);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][19], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][19], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][19], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][19], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][19], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][19], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][19], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][19], 0);
- RegisterTD[playerid][20] = CreatePlayerTextDraw(playerid, 356.764434, 223.833236, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][20], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][20], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][20], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][20], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][20], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][20], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][20], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][20], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][20], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][20], 0);
- RegisterTD[playerid][21] = CreatePlayerTextDraw(playerid, 352.999786, 219.749938, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][21], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][21], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][21], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][21], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][21], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][21], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][21], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][21], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][21], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][21], 0);
- RegisterTD[playerid][22] = CreatePlayerTextDraw(playerid, 356.764434, 215.083251, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][22], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][22], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][22], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][22], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][22], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][22], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][22], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][22], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][22], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][22], 0);
- RegisterTD[playerid][23] = CreatePlayerTextDraw(playerid, 385.999816, 214.499954, "E-MAil");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][23], 0.247529, 1.489166);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][23], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][23], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][23], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][23], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][23], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][23], 2);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][23], 1);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][23], 0);
- RegisterTD[playerid][24] = CreatePlayerTextDraw(playerid, 281.470214, 251.833389, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][24], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][24], 70.000000, 16.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][24], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][24], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][24], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][24], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][24], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][24], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][24], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][24], 0);
- RegisterTD[playerid][25] = CreatePlayerTextDraw(playerid, 271.588226, 247.750000, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][25], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][25], 21.000000, 24.399999);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][25], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][25], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][25], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][25], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][25], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][25], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][25], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][25], 0);
- RegisterTD[playerid][26] = CreatePlayerTextDraw(playerid, 341.235260, 247.749969, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][26], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][26], 21.000000, 24.399999);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][26], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][26], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][26], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][26], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][26], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][26], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][26], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][26], 0);
- RegisterTD[playerid][27] = CreatePlayerTextDraw(playerid, 280.999633, 261.166656, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][27], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][27], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][27], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][27], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][27], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][27], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][27], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][27], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][27], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][27], 0);
- RegisterTD[playerid][28] = CreatePlayerTextDraw(playerid, 277.234985, 256.499908, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][28], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][28], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][28], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][28], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][28], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][28], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][28], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][28], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][28], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][28], 0);
- RegisterTD[playerid][29] = CreatePlayerTextDraw(playerid, 281.470214, 251.833251, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][29], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][29], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][29], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][29], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][29], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][29], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][29], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][29], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][29], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][29], 0);
- RegisterTD[playerid][30] = CreatePlayerTextDraw(playerid, 346.411315, 261.166595, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][30], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][30], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][30], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][30], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][30], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][30], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][30], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][30], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][30], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][30], 0);
- RegisterTD[playerid][31] = CreatePlayerTextDraw(playerid, 350.646636, 257.083282, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][31], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][31], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][31], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][31], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][31], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][31], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][31], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][31], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][31], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][31], 0);
- RegisterTD[playerid][32] = CreatePlayerTextDraw(playerid, 346.881988, 252.999954, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][32], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][32], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][32], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][32], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][32], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][32], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][32], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][32], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][32], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][32], 0);
- RegisterTD[playerid][33] = CreatePlayerTextDraw(playerid, 307.411621, 252.416610, "POL");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][33], 0.247529, 1.489166);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][33], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][33], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][33], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][33], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][33], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][33], 2);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][33], 1);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][33], 0);
- RegisterTD[playerid][34] = CreatePlayerTextDraw(playerid, 279.117614, 273.999938, "");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][34], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][34], 73.000000, 76.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][34], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][34], -1);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][34], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][34], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][34], 268435456);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][34], 5);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][34], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][34], 0);
- PlayerTextDrawSetPreviewModel(playerid, RegisterTD[playerid][34], 30);
- PlayerTextDrawSetPreviewRot(playerid, RegisterTD[playerid][34], 0.000000, 0.000000, 0.000000, 1.000000);
- RegisterTD[playerid][35] = CreatePlayerTextDraw(playerid, 261.705993, 299.083343, "ld_beat:left");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][35], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][35], 15.000000, 13.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][35], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][35], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][35], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][35], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][35], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][35], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][35], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][35], 0);
- PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][35], true);
- RegisterTD[playerid][36] = CreatePlayerTextDraw(playerid, 359.117706, 299.083404, "ld_beat:right");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][36], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][36], 15.000000, 13.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][36], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][36], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][36], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][36], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][36], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][36], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][36], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][36], 0);
- PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][36], true);
- RegisterTD[playerid][37] = CreatePlayerTextDraw(playerid, 281.940795, 366.750061, "LD_SPAC:white");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][37], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][37], 70.000000, 16.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][37], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][37], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][37], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][37], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][37], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][37], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][37], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][37], 0);
- PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][37], true);
- RegisterTD[playerid][38] = CreatePlayerTextDraw(playerid, 271.588348, 362.666625, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][38], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][38], 21.000000, 24.399999);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][38], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][38], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][38], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][38], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][38], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][38], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][38], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][38], 0);
- RegisterTD[playerid][39] = CreatePlayerTextDraw(playerid, 340.764709, 362.666564, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][39], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][39], 21.000000, 24.399999);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][39], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][39], 8388863);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][39], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][39], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][39], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][39], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][39], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][39], 0);
- RegisterTD[playerid][40] = CreatePlayerTextDraw(playerid, 280.999664, 366.749938, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][40], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][40], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][40], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][40], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][40], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][40], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][40], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][40], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][40], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][40], 0);
- RegisterTD[playerid][41] = CreatePlayerTextDraw(playerid, 277.705566, 371.416625, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][41], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][41], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][41], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][41], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][41], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][41], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][41], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][41], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][41], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][41], 0);
- RegisterTD[playerid][42] = CreatePlayerTextDraw(playerid, 280.999633, 375.500000, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][42], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][42], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][42], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][42], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][42], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][42], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][42], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][42], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][42], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][42], 0);
- RegisterTD[playerid][43] = CreatePlayerTextDraw(playerid, 347.352691, 366.750000, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][43], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][43], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][43], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][43], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][43], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][43], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][43], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][43], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][43], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][43], 0);
- RegisterTD[playerid][44] = CreatePlayerTextDraw(playerid, 351.117370, 370.833343, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][44], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][44], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][44], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][44], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][44], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][44], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][44], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][44], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][44], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][44], 0);
- RegisterTD[playerid][45] = CreatePlayerTextDraw(playerid, 347.823303, 374.916717, "ld_beat:chit");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][45], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, RegisterTD[playerid][45], 6.000000, 7.000000);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][45], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][45], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][45], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][45], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][45], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][45], 4);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][45], 0);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][45], 0);
- RegisterTD[playerid][46] = CreatePlayerTextDraw(playerid, 293.764434, 367.333343, "REGISTER");
- PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][46], 0.247529, 1.489166);
- PlayerTextDrawAlignment(playerid, RegisterTD[playerid][46], 1);
- PlayerTextDrawColor(playerid, RegisterTD[playerid][46], 255);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][46], 0);
- PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][46], 0);
- PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][46], 255);
- PlayerTextDrawFont(playerid, RegisterTD[playerid][46], 2);
- PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][46], 1);
- PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][46], 0);
- ////////////////////////////////////////////////////////////////////////////
- TogglePlayerSpectating(playerid, true);
- if(fexist(UserPath(playerid)))
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- new str[ 150 ];
- format(str,sizeof(str), ""COL_BELA"Dobrodosao nazad "COL_SERVER"%s"COL_BELA".\nVas nalog je pronadjen u bazi podataka.\nUpisite lozinku kako bi ste nastavli sa igrom.", GetName(playerid));
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_SERVER"Login",str,"Dalje","Izadji");
- }
- else { for(new i; i < 47; i++) { PlayerTextDrawShow(playerid, RegisterTD[ playerid ][ i ]); SelectTextDraw(playerid, ZELENA); Stranica[ playerid ] = 1; new str[ 200 ]; format(str,sizeof(str), "_______Dobrodosao_%s,~n~na_starling_city_deathmatch_server.", GetName(playerid)); PlayerTextDrawSetString(playerid, RegisterTD[ playerid ][ 7 ], str); } }
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- switch( dialogid )
- {
- case DIALOG_REGISTER:
- {
- if (!response) return Kick(playerid);
- if(response)
- {
- if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_BELA"Registracija...",""COL_SERVER"Ukucali ste pogresnu lozinku.\n"COL_BELA"Ukucajte sifru kako bi registrovali nov nalog","Register","Izadji");
- if(strlen(inputtext) < 7) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Lozinka mora najmanje sadrzati 6 slova/brojeva.");
- new INI:File = INI_Open(UserPath(playerid));
- INI_WriteInt(File,"Lozinka",udb_hash(inputtext));
- INI_WriteInt(File,"Novac",0);
- INI_WriteInt(File,"Admin",0);
- INI_WriteInt(File,"Ubistva",0);
- INI_WriteInt(File,"Smrti",0);
- INI_Close(File);
- IzabraoLozinku[ playerid ] = true;
- new str[ 100 ];
- format(str,sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"U redu, Vasa lozinka je %s.", inputtext);
- SCM(playerid, -1, str);
- }
- }
- case DIALOG_LOGIN:
- {
- if ( !response ) return Kick ( playerid );
- if( response )
- {
- if(udb_hash(inputtext) == PlayerInfo[playerid][pLozinka])
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- GivePlayerMoney(playerid, PlayerInfo[ playerid ][ pNovac ]);
- SetPlayerScore(playerid, PlayerInfo[ playerid ][ pLevel ]);
- if(PlayerInfo[ playerid ][ pTim ] == 1) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2495.0779,-1687.1693,13.5145,7.0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- else if(PlayerInfo[ playerid ][ pTim ] == 2) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2143.5728,-1484.9344,25.5391,83.8843, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- else if(PlayerInfo[ playerid ][ pTim ] == 3) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2547.1873,-1126.9431,62.8743,267.2528, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- else if(PlayerInfo[ playerid ][ pTim ] == 4) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 1537.7843,-1498.1699,13.5547,89.8398, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- else if(PlayerInfo[ playerid ][ pTim ] == 5) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2730.3218,-2451.4561,17.5937,269.5424, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- }
- else
- {
- LoginPokusaji[ playerid ]++;
- if(LoginPokusaji[ playerid ] == 3) return Kick(playerid);
- if(LoginPokusaji[ playerid ] == 0) return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_BELA"Login",""COL_SERVER"Login neuspesan.\n"COL_BELA"Niste upisali ispravnu lozinku.\nImate jos 2 pokusaja.","Login","Izadji");
- else if(LoginPokusaji[ playerid ] == 1) return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_BELA"Login",""COL_SERVER"Login neuspesan.\n"COL_BELA"Niste upisali ispravnu lozinku.\nImate jos 1 pokusaj.","Login","Izadji");
- }
- return 1;
- }
- }
- }
- if(dialogid == DIALOG_EMAIL)
- {
- if(response)
- {
- new emailp = strfind(inputtext, "@", true);
- if(emailp == -1)
- {
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Netacan e-mail | Upisite tacnu e-mail adresu!");
- SPD(playerid, 12, 1, ""COL_SERVER"E-mail", ""COL_BELA"Upisite vasu e-mail adresu.", "Enter", "Exit");
- return true;
- }
- new emailp2 = strfind(inputtext, ".", true);
- if(emailp2 == -1)
- {
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Netacan e-mail | Upisite tacnu e-mail adresu!");
- SPD(playerid, 12, 1, ""COL_SERVER"E-mail", ""COL_BELA"Upisite vasu e-mail adresu.", "Enter", "Exit");
- return true;
- }
- new str[ 120 ];
- format(str,sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"U redu, Vas E-Mail je %s.", inputtext);
- SCM(playerid, -1, str);
- IzabraoEmail[ playerid ] = true;
- new INI:File = INI_Open(UserPath(playerid));
- INI_WriteString(File, "Email", inputtext);
- INI_Close(File);
- }
- else return Kick(playerid);
- }
- else if(dialogid == DIALOG_GUNMENU)
- {
- if(response)
- {
- switch(listitem)
- {
- case 0:
- {
- if(GetPlayerMoney(playerid) < 60) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 24, 400);
- GivePlayerMoney(playerid, -60);
- }
- case 1:
- {
- if(GetPlayerMoney(playerid) < 50) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 28, 600);
- GivePlayerMoney(playerid, -50);
- }
- case 2:
- {
- if(GetPlayerMoney(playerid) < 50) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 32, 600);
- GivePlayerMoney(playerid, -50);
- }
- case 3:
- {
- if(GetPlayerMoney(playerid) < 70) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 29, 600);
- GivePlayerMoney(playerid, -70);
- }
- case 4:
- {
- if(GetPlayerMoney(playerid) < 100) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- SetPlayerArmour(playerid, 100);
- GivePlayerMoney(playerid, -100);
- }
- }
- }
- }
- else if(dialogid == DIALOG_GUNMENU1)
- {
- if(response)
- {
- switch(listitem)
- {
- case 0:
- {
- if(GetPlayerMoney(playerid) < 60) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 24, 400);
- GivePlayerMoney(playerid, -60);
- }
- case 1:
- {
- if(GetPlayerMoney(playerid) < 70) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 25, 150);
- GivePlayerMoney(playerid, -70);
- }
- case 2:
- {
- if(GetPlayerMoney(playerid) < 90) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 30, 600);
- GivePlayerMoney(playerid, -90);
- }
- case 3:
- {
- if(GetPlayerMoney(playerid) < 90) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 31, 600);
- GivePlayerMoney(playerid, -90);
- }
- case 4:
- {
- if(GetPlayerMoney(playerid) < 120) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- GivePlayerWeapon(playerid, 34, 200);
- GivePlayerMoney(playerid, -120);
- }
- case 5:
- {
- if(GetPlayerMoney(playerid) < 100) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
- SetPlayerArmour(playerid, 100);
- GivePlayerMoney(playerid, -100);
- }
- }
- }
- }
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- SacuvajIgraca(playerid);
- OnlineIgraci--;
- new online[ 15 ];
- format(online,sizeof(online), "Online_%d", OnlineIgraci);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 16 ], online);
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(PlayerInfo[ playerid ][ pTim ] == 1) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2495.0779,-1687.1693,13.5145,7.0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- else if(PlayerInfo[ playerid ][ pTim ] == 2) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2143.5728,-1484.9344,25.5391,83.8843, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- else if(PlayerInfo[ playerid ][ pTim ] == 3) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2547.1873,-1126.9431,62.8743,267.2528, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- else if(PlayerInfo[ playerid ][ pTim ] == 4) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 1537.7843,-1498.1699,13.5547,89.8398, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- else if(PlayerInfo[ playerid ][ pTim ] == 5) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2730.3218,-2451.4561,17.5937,269.5424, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
- if(Zauzima[ playerid ])
- {
- if(PlayerInfo[ playerid ][ pTim ] == 1) { KillTimer(gsfzt); Zauzima[ playerid ] = false; }
- else if(PlayerInfo[ playerid ][ pTim ] == 2) { KillTimer(ballaszt); Zauzima[ playerid ] = false; }
- else if(PlayerInfo[ playerid ][ pTim ] == 3) { KillTimer(lsvzt); Zauzima[ playerid ] = false; }
- }
- else if(killerid != playerid)
- {
- if(PlayerInfo[ killerid ][ pTim ] == PlayerInfo[ playerid ][ pTim ]) return GivePlayerMoney(killerid, -50);
- PlayerInfo[ playerid ][ pSmrti ] += 1;
- PlayerInfo[ killerid ][ pUbistva ] += 1;
- GivePlayerMoney(killerid, 50);
- if(PlayerInfo[ killerid ][ pUbistva ] == 10) { GivePlayerMoney(killerid, 100); SCM(killerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Dobili ste 100$ zbog 10 ubistava."); }
- new str2[ 15 ];
- format(str2,sizeof(str2), "Kills_-_%d", PlayerInfo[ killerid ][ pUbistva ]);
- PlayerTextDrawSetString(killerid, InGameTD[ killerid ][ 0 ], str2);
- new str3[ 15 ];
- format(str3,sizeof(str3), "Deaths_-_%d", PlayerInfo[ playerid ][ pSmrti ]);
- PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 1 ], str3);
- }
- return 1;
- }
- public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
- {
- if(PlayerInfo[ playerid ][ pTim ] == PlayerInfo[ damagedid ][ pTim ]) return GivePlayerMoney(playerid, -10);
- return 1;
- }
- public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
- {
- if(playertextid == RegisterTD[ playerid ][ 8 ])
- {
- new str[ 150 ];
- format(str,sizeof(str), ""COL_BELA"Dobrodosao "COL_SERVER"%s"COL_BELA".\nVas nalog nije pronadjen u bazi podataka.\nUpisite zeljenu lozinku da bi ste se registrovali.", GetName(playerid));
- ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_SERVER"Registracija",str,"Register","Izadji");
- }
- else if(playertextid == RegisterTD[ playerid ][ 18 ])
- {
- SPD(playerid, DIALOG_EMAIL, DSI, ""COL_SERVER"E-mail", ""COL_BELA"Upisite vasu e-mail adresu.", "Dalje", "Izadji");
- }
- else if(playertextid == RegisterTD[ playerid ][ 37 ])
- {
- if(IzabraoLozinku[ playerid ] && IzabraoEmail[ playerid ])
- {
- SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Odaberite tim.");
- for(new i; i < 47; i++) { PlayerTextDrawHide(playerid, RegisterTD[ playerid ][ i ]); }
- for(new i; i < 24; i++) { PlayerTextDrawShow(playerid, OdabirTimaTD[ playerid ][ i ]); }
- if(Stranica[ playerid ] == 1) { PlayerInfo[ playerid ][ pPol ] = 1; }
- else if(Stranica[ playerid ] == 2) { PlayerInfo[ playerid ][ pPol ] = 2; }
- }
- else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste popunili sve podatke !");
- }
- else if(playertextid == RegisterTD[ playerid ][ 35 ] || playertextid == RegisterTD[ playerid ][ 36 ])
- {
- PlayerTextDrawHide(playerid, RegisterTD[ playerid ][ 34 ]);
- if(Stranica[ playerid ] == 1) { PlayerTextDrawSetPreviewModel(playerid, RegisterTD[ playerid ][ 34 ], 40); Stranica[ playerid ] = 2; PlayerTextDrawShow(playerid, RegisterTD[ playerid ][ 34 ]); }
- else if(Stranica[ playerid ] == 2) { PlayerTextDrawSetPreviewModel(playerid, RegisterTD[ playerid ][ 34 ], 30); Stranica[ playerid ] = 1; PlayerTextDrawShow(playerid, RegisterTD[ playerid ][ 34 ]); }
- }
- else if(playertextid == OdabirTimaTD[ playerid ][ 4 ])
- {
- PlayerInfo[ playerid ][ pTim ] = 1;
- CancelSelectTextDraw(playerid);
- TogglePlayerSpectating(playerid, false);
- for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
- SetPlayerScore(playerid, 1);
- GivePlayerMoney(playerid, 500);
- if(PlayerInfo[ playerid ][ pPol ] == 1) { SetSpawnInfo(playerid, 0, 107, 2495.0779,-1687.1693,13.5145,7.0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 107; }
- else if(PlayerInfo[ playerid ][ pPol ] == 2) { SetSpawnInfo(playerid, 0, 91, 2495.0779,-1687.1693,13.5145,7.0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 91; }
- }
- else if(playertextid == OdabirTimaTD[ playerid ][ 5 ])
- {
- CancelSelectTextDraw(playerid);
- PlayerInfo[ playerid ][ pTim ] = 2;
- TogglePlayerSpectating(playerid, false);
- SetPlayerScore(playerid, 1);
- GivePlayerMoney(playerid, 500);
- for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
- if(PlayerInfo[ playerid ][ pPol ] == 1) { SetSpawnInfo(playerid, 0, 104, 2143.5728,-1484.9344,25.5391,83.8843, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 104; }
- else if(PlayerInfo[ playerid ][ pPol ] == 2) { SetSpawnInfo(playerid, 0, 40, 2143.5728,-1484.9344,25.5391,83.8843, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 40; }
- }
- else if(playertextid == OdabirTimaTD[ playerid ][ 6 ])
- {
- CancelSelectTextDraw(playerid);
- PlayerInfo[ playerid ][ pTim ] = 3;
- TogglePlayerSpectating(playerid, false);
- SetPlayerScore(playerid, 1);
- GivePlayerMoney(playerid, 500);
- for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
- if(PlayerInfo[ playerid ][ pPol ] == 1) { SetSpawnInfo(playerid, 0, 108, 2547.1873,-1126.9431,62.8743,267.2528, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 108; }
- else if(PlayerInfo[ playerid ][ pPol ] == 2) { SetSpawnInfo(playerid, 0, 93, 2547.1873,-1126.9431,62.8743,267.2528, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 93; }
- }
- else if(playertextid == OdabirTimaTD[ playerid ][ 7 ])
- {
- CancelSelectTextDraw(playerid);
- SetSpawnInfo(playerid, 0, 285, 1537.7843,-1498.1699,13.5547,89.8398, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- PlayerInfo[ playerid ][ pSkin ] = 285;
- PlayerInfo[ playerid ][ pTim ] = 4;
- SetPlayerScore(playerid, 1);
- GivePlayerMoney(playerid, 500);
- TogglePlayerSpectating(playerid, false);
- for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
- }
- else if(playertextid == OdabirTimaTD[ playerid ][ 8 ])
- {
- CancelSelectTextDraw(playerid);
- SetSpawnInfo(playerid, 0, 287, 2730.3218,-2451.4561,17.5937,269.5424, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- PlayerInfo[ playerid ][ pTim ] = 5;
- SetPlayerScore(playerid, 1);
- GivePlayerMoney(playerid, 500);
- PlayerInfo[ playerid ][ pSkin ] = 287;
- TogglePlayerSpectating(playerid, false);
- for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
- }
- return 1;
- }
- // STOCK //
- stock LoadVeh()
- {
- for(new i = 1; i < MAX_VOZILA; i++)
- {
- VehInfo[ i ][ vID ] = -1;
- new vFile[ 50 ];
- format(vFile, sizeof(vFile), VOZILA_FILE, i);
- if(fexist(vFile))
- {
- INI_ParseFile(vFile, "OcitajVozilo", .bExtra = true, .extra = i);
- VehInfo[ i ][ vID ] = CreateVehicle(VehInfo[ i ][ Model ],VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[i][ PosZ ],VehInfo[ i ][ RotA ],VehInfo[ i ][ Boja1 ],VehInfo[ i ][ Boja2 ], -1);
- if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 1) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel(""COL_SERVER"[ GSF ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
- else if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 2) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel("{6F00FF}[ Ballas ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
- else if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 3) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel("{FFFF00}[ LS Vagos ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
- else if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 4) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel("{002FFF}[ S.W.A.T ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
- else if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 5) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel("{002FFF}[ Army ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
- }
- }
- return 1;
- }
- stock razdvajanje( const asdas[], strdest[][], delimiter )
- {
- new i, li;
- new xNum;
- new xlom;
- while( i <= strlen(asdas))
- {
- if( asdas[ i ] == delimiter || i == strlen( asdas ))
- {
- xlom = strmid (strdest[ xNum ], asdas, li, i, 128 );
- strdest[ xNum ][ xlom ] = 0;
- li = i+1;
- xNum++;
- }
- i++;
- }
- return 1;
- }
- stock UserPath(playerid)
- {
- new string[30],playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid,playername,sizeof(playername));
- format(string,sizeof(string),PATH,playername);
- return string;
- }
- stock TerPath(id)
- {
- new string[30];
- format(string,sizeof(string),TERITORIJE_FILE,id);
- return string;
- }
- stock udb_hash(buf[]) {
- new length=strlen(buf);
- new s1 = 1;
- new s2 = 0;
- new n;
- for (n=0; n<length; n++)
- {
- s1 = (s1 + buf[n]) % 65521;
- s2 = (s2 + s1) % 65521;
- }
- return (s2 << 16) + s1;
- }
- stock GetName(playerid)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- return name;
- }
- stock SacuvajIgraca(playerid)
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_WriteInt(File, "Novac", GetPlayerMoney(playerid));
- INI_WriteInt(File, "Level", GetPlayerScore(playerid));
- INI_WriteInt(File, "Admin", PlayerInfo[ playerid ][ pAdmin ]);
- INI_WriteInt(File, "Ubistva", PlayerInfo[ playerid ][ pUbistva ]);
- INI_WriteInt(File, "Smrti", PlayerInfo[ playerid ][ pSmrti ]);
- INI_WriteInt(File, "Tim", PlayerInfo[ playerid ][ pTim ]);
- INI_WriteInt(File, "Pol", PlayerInfo[ playerid ][ pPol ]);
- INI_WriteInt(File, "Skin", PlayerInfo[ playerid ][ pSkin ]);
- INI_Close(File);
- return 1;
- }
- SaveVeh(id)
- {
- new vFile[ 60 ];
- format(vFile, sizeof(vFile), VOZILA_FILE, id);
- new INI:File = INI_Open(vFile);
- INI_WriteFloat(File, "LokacijaX", VehInfo[ id ][ PosX ]);
- INI_WriteFloat(File, "LokacijaY", VehInfo[ id ][ PosY ]);
- INI_WriteFloat(File, "LokacijaZ", VehInfo[ id ][ PosZ ]);
- INI_WriteFloat(File, "RotacijaA", VehInfo[ id ][ RotA ]);
- INI_WriteInt(File, "VehTim", VehInfo[ id ][ vTim ]);
- INI_WriteInt(File, "Boja1", VehInfo[ id ][ Boja1 ]);
- INI_WriteInt(File, "Boja2", VehInfo[ id ][ Boja2 ]);
- INI_WriteInt(File, "Model", VehInfo[ id ][ Model ]);
- INI_Close(File);
- return 1;
- }
- // COMMANDS //
- YCMD:makeadmin(playerid, params[], help)
- {
- #pragma unused help
- if(!IsPlayerAdmin(playerid)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste ovlasceni.");
- new alvl, id;
- if(sscanf(params, "ud", id, alvl)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /makeadmin [ID] [Admin level 0 - 3]");
- if(alvl > 3) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Admin level ne moze biti veci od 3 !");
- if(!IsPlayerConnected(id)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Taj igrac nije na serveru !");
- if(alvl == 0)
- {
- if(PlayerInfo[ id ][ pAdmin ] == 0) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Kako ces skinuti nekome admina ako ga ni nema?");
- PlayerInfo[ id ][ pAdmin ] = 0;
- new str[ 130 ];
- format(str, sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"Admin %s Vam je skinuo admina.", GetName(playerid));
- SCM(id, -1, str);
- new str1[ 130 ];
- format(str1, sizeof(str1), ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste skinuli igracu %s admina", GetName(id));
- SCM(playerid, -1, str1);
- }
- else
- {
- PlayerInfo[ id ][ pAdmin ] = alvl;
- new str[ 150 ];
- format(str, sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"Admin %s Vam je dao admina level %d.", GetName(playerid), alvl);
- SCM(id, -1, str);
- new str1[ 150 ];
- format(str1, sizeof(str1), ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste dali admina igracu %s, level %d.", GetName(id), alvl);
- SCM(playerid, -1, str1);
- }
- return 1;
- }
- YCMD:veh(playerid, params[], help)
- {
- new da[ MAX_PLAYERS ], Float:X,Float:Y,Float:Z;
- if(!KreiraoVozilo[ playerid ])
- {
- GetPlayerPos(playerid, X,Y,Z);
- da[ playerid ] = CreateVehicle(411, X,Y,Z, 0.0, 1, 1, -1);
- PutPlayerInVehicle(playerid, da[ playerid ], 0);
- GivePlayerMoney(playerid, -20);
- KreiraoVozilo[ playerid ] = true;
- }
- else { DestroyVehicle(da[ playerid ]); KreiraoVozilo[ playerid ] = false; }
- return 1;
- }
- YCMD:gunmenu(playerid, params[], help)
- {
- #pragma unused help
- #pragma unused params
- if(PlayerInfo[ playerid ][ pTim ] < 4) return SPD(playerid, DIALOG_GUNMENU, DSL, ""COL_SERVER"Gun Menu",""COL_BELA"Deagle (60$)\nUzi (50$)\nTec-9 (50$)\nM5 (70$)\nArmour (100$)","Izaberi","Odustani");
- else if(PlayerInfo[ playerid ][ pTim ] > 3) return SPD(playerid, DIALOG_GUNMENU1, DSL, ""COL_SERVER"Gun Menu",""COL_BELA"Deagle (60$)\nShotgun (70$)\nAK-47 (90$)\nM4 (90$)\nSniper (120$)\nArmour (100$)","Izaberi","Odustani");
- return 1;
- }
- YCMD:slap(playerid, params[], help)
- {
- #pragma unused help
- if(PlayerInfo[ playerid ][ pAdmin ] < 1) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste ovlasceni.");
- new id, Float:X,Float:Y,Float:Z;
- if(sscanf(params, "u", id)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /slap [ID]");
- GetPlayerPos(id, X,Y,Z);
- SetPlayerPos(id, X,Y,Z+4);
- return 1;
- }
- YCMD:suicide(playerid, params[], help)
- {
- #pragma unused help
- #pragma unused params
- new str[ 75 ];
- format(str,sizeof(str), ""COL_SERVER"[SC:DM INFO] "COL_BELA"Igrac %s je izvrsio samoubistvo.", GetName(playerid));
- SCMTA(-1, str);
- SetPlayerHealth(playerid, 0);
- return 1;
- }
- YCMD:kreirajvozilo(playerid, params[], help)
- {
- #pragma unused help
- if(!IsPlayerAdmin(playerid)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste ovlasceni.");
- new id, vtim, boja1, boja2, Float:X,Float:Y,Float:Z,Float:A;
- if(sscanf(params, "dddd", id, vtim, boja1, boja2)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /kreiajvozilo [ID] [Tim 1 - 5] [Boja 1] [Boja 2].");
- if(id < 400 || id > 611) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"ID Vozila ne moze biti manji od 400 ili veci od 611.");
- if(vtim < 1 || vtim > 5) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Tim vozila ne moze biti manji od 1 ili veci od 5.");
- GetPlayerPos(playerid, X,Y,Z);
- GetPlayerFacingAngle(playerid, A);
- KreiranaVozila++;
- KreiranaVozila = CreateVehicle(id, X,Y,Z, A, boja1, boja2, -1);
- VehInfo[ KreiranaVozila ][ PosX ] = X;
- VehInfo[ KreiranaVozila ][ PosY ] = Y;
- VehInfo[ KreiranaVozila ][ PosZ ] = Z;
- VehInfo[ KreiranaVozila ][ RotA ] = A;
- VehInfo[ KreiranaVozila ][ vTim ] = vtim;
- VehInfo[ KreiranaVozila ][ Boja1 ] = boja1;
- VehInfo[ KreiranaVozila ][ Boja2 ] = boja2;
- VehInfo[ KreiranaVozila ][ Model ] = id;
- SaveVeh(KreiranaVozila);
- if(vtim == 1) { VehLabel[ KreiranaVozila ] = Create3DTextLabel(""COL_SERVER"[ GSF ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
- else if(vtim == 2) { VehLabel[ KreiranaVozila ] = Create3DTextLabel("{6F00FF}[ Ballas ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
- else if(vtim == 3) { VehLabel[ KreiranaVozila ] = Create3DTextLabel("{FFFF00}[ LS Vagos ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
- else if(vtim == 4) { VehLabel[ KreiranaVozila ] = Create3DTextLabel("{002FFF}[ S.W.A.T ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
- else if(vtim == 5) { VehLabel[ KreiranaVozila ] = Create3DTextLabel("{002FFF}[ Army ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
- return 1;
- }
- YCMD:ban(playerid, params[], help)
- {
- #pragma unused help
- new id, razlog[ 40 ];
- if(sscanf(params, "us[40]", id, razlog)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /ban [ID] [Razlog]");
- if(!IsPlayerConnected(id)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Taj igrac nije na serveru.");
- new str[ 150 ];
- format(str,sizeof(str), ""COL_SERVER"[BAN] "COL_BELA"Igrac %s je banovan sa servera od strane admina %s, razlog %s.", GetName(id), GetName(playerid), razlog);
- SCMTA(-1, str);
- SetTimerEx("BanTimer", 500, false, "i", id);
- return 1;
- }
- YCMD:kick(playerid, params[], help)
- {
- #pragma unused help
- new id, razlog[ 40 ];
- if(sscanf(params, "us[40]", id, razlog)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /kick [ID] [Razlog]");
- if(!IsPlayerConnected(id)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Taj igrac nije na serveru.");
- new str[ 150 ];
- format(str,sizeof(str), ""COL_SERVER"[KICK] "COL_BELA"Igrac %s je kickovan sa servera od strane admina %s, razlog %s.", GetName(id), GetName(playerid), razlog);
- SCMTA(-1, str);
- SetTimerEx("KickTimer", 500, false, "i", id);
- return 1;
- }
- YCMD:zauzmi(playerid, params[], help)
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 2126.0322,-1445.4745,23.9910))
- {
- if(PlayerInfo[ playerid ][ pTim ] != 2 && PlayerInfo[ playerid ][ pTim ] != 4 && PlayerInfo[ playerid ][ pTim ] != 5)
- {
- if(BallasZauzetOdStrane == 1 && PlayerInfo[ playerid ][ pTim ] == 1) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
- else if(BallasZauzetOdStrane == 3 && PlayerInfo[ playerid ][ pTim ] == 3) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
- else if(Zauzima[ playerid ]) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vec zauzimate.");
- if(TestUkljucen) { ballaszt = SetTimerEx("BallasZauzimanje", 10000, false, "i", playerid); }
- ballaszt = SetTimerEx("BallasZauzimanje", 480000, false, "i", playerid);
- Zauzima[ playerid ] = true;
- TogglePlayerControllable(playerid, false);
- SetTimerEx("AnimApply", 500, false, "i", playerid);
- foreach(Player,i) { if(PlayerInfo[ i ][ pTim ] == 2) { SCM(i, -1, ""COL_SERVER"[ZAUZIMANJE] "COL_BELA"Neko pokusava da vam zauzme teritoriju !"); } }
- }
- else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Ne mozes zauzeti teritoriju od svog tima, ili si policajac.");
- }
- else if(IsPlayerInRangeOfPoint(playerid, 2.0, 2490.3318,-1668.3350,13.3438))
- {
- if(PlayerInfo[ playerid ][ pTim ] != 1 && PlayerInfo[ playerid ][ pTim ] != 4 && PlayerInfo[ playerid ][ pTim ] != 5)
- {
- if(GSFZauzetOdStrane == 2 && PlayerInfo[ playerid ][ pTim ] == 2) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
- else if(GSFZauzetOdStrane == 3 && PlayerInfo[ playerid ][ pTim ] == 3) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
- if(TestUkljucen) { gsfzt = SetTimerEx("GSFZauzimanje", 10000, false, "i", playerid); }
- gsfzt = SetTimerEx("GSFZauzimanje", 480000, false, "i", playerid);
- Zauzima[ playerid ] = true;
- TogglePlayerControllable(playerid, false);
- SetTimerEx("AnimApply", 500, false, "i", playerid);
- foreach(Player,i) { if(PlayerInfo[ i ][ pTim ] == 1) { SCM(i, -1, ""COL_SERVER"[ZAUZIMANJE] "COL_BELA"Neko pokusava da vam zauzme teritoriju !"); } }
- }
- else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Ne mozes zauzeti teritoriju od svog tima, ili si policajac.");
- }
- else if(IsPlayerInRangeOfPoint(playerid, 2.0, 2575.6936,-1123.5803,65.5335))
- {
- if(PlayerInfo[ playerid ][ pTim ] != 3 && PlayerInfo[ playerid ][ pTim ] != 4 && PlayerInfo[ playerid ][ pTim ] != 5)
- {
- if(LSVZauzetOdStrane == 1 && PlayerInfo[ playerid ][ pTim ] == 1) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
- else if(LSVZauzetOdStrane == 2 && PlayerInfo[ playerid ][ pTim ] == 2) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
- if(TestUkljucen) { lsvzt = SetTimerEx("LSVZauzimanje", 10000, false, "i", playerid); }
- lsvzt = SetTimerEx("LSVZauzimanje", 480000, false, "i", playerid);
- Zauzima[ playerid ] = true;
- TogglePlayerControllable(playerid, false);
- SetTimerEx("AnimApply", 500, false, "i", playerid);
- foreach(Player,i) { if(PlayerInfo[ i ][ pTim ] == 3) { SCM(i, -1, ""COL_SERVER"[ZAUZIMANJE] "COL_BELA"Neko pokusava da vam zauzme teritoriju !"); } }
- }
- else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Ne mozes zauzeti teritoriju od svog tima, ili si policajac.");
- }
- return 1;
- }
- YCMD:spec(playerid, params[], help) // SPEC i SPECOFF UZETI IZ DRUGOG MODA - MRZELO ME RADITI
- {
- #pragma unused help
- new id;
- if(PlayerInfo[playerid][pAdmin] > 0)
- {
- if(sscanf(params,"u", id))return SendClientMessage(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristi: /spec [id]");
- if(id == playerid) return SendClientMessage(playerid,-1,""COL_SERVER"[SC:DM] "COL_BELA"Ne mozes da nadgledas samog sebe !");
- if(id == INVALID_PLAYER_ID)return SendClientMessage(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Taj igrac nije na serveru !");
- if(IsSpecing[playerid] == 1)return SendClientMessage(playerid,-1,""COL_SERVER"[SC:DM] "COL_BELA"Vec nadgledas nekoga !");
- GetPlayerPos(playerid,SpecX[playerid],SpecY[playerid],SpecZ[playerid]);
- Inter[playerid] = GetPlayerInterior(playerid);
- vWorld[playerid] = GetPlayerVirtualWorld(playerid);
- TogglePlayerSpectating(playerid, true);
- if(IsPlayerInAnyVehicle(id))
- {
- if(GetPlayerInterior(id) > 0)
- {
- SetPlayerInterior(playerid,GetPlayerInterior(id));
- }
- if(GetPlayerVirtualWorld(id) > 0)
- {
- SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(id));
- PlayerSpectateVehicle(playerid,GetPlayerVehicleID(id));
- }
- }
- else
- {
- if(GetPlayerInterior(id) > 0)
- {
- SetPlayerInterior(playerid,GetPlayerInterior(id));
- }
- if(GetPlayerVirtualWorld(id) > 0)
- {
- SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(id));
- }
- PlayerSpectatePlayer(playerid,id);
- }
- GetPlayerName(id, Name, sizeof(Name));
- format(String, sizeof(String),""COL_SERVER"[SC:DM] "COL_BELA"Poceo si sa nagledanjem igraca %s",Name);
- SendClientMessage(playerid,0x0080C0FF,String);
- IsSpecing[playerid] = 1;
- IsBeingSpeced[id] = 1;
- spectatorid[playerid] = id;
- }
- else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nisi ovlasceni !");
- return 1;
- }
- YCMD:specoff(playerid,params[], help)
- {
- #pragma unused help
- #pragma unused params
- if(PlayerInfo[ playerid ][ pAdmin ] > 0)
- {
- if(IsSpecing[playerid] == 0) return SendClientMessage(playerid,-1,""COL_SERVER"[SC:DM] "COL_BELA"Ne nadgledas nikoga !");
- TogglePlayerSpectating(playerid, 0);
- }
- else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nisi ovlasceni !");
- return 1;
- }
- YCMD:givegun(playerid, params[], help)
- {
- #pragma unused help
- new id, oid, municija;
- if(PlayerInfo[ playerid ][ pAdmin ] < 2) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste ovlasceni.");
- if(sscanf(params, "udd", id, oid, municija)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /givegun [ID] [Gun ID] [Municija 1-500]");
- if(oid < 1 || oid > 43) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Gun ID ne moze biti manji od 1 ili veci od 43 !");
- if(municija < 1 || municija > 500) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Municija ne moze biti manja od 1 ili veca od 500 !");
- new str[ 50 ], str1[ 90 ];
- format(str, sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"Admin Vam je dao gun id %d, municija %d.", oid, municija);
- format(str1, sizeof(str1), ""COL_SERVER"[SC:DM] "COL_BELA"Dali ste igracu %s gun id %d, municija %d.", GetName(id), oid, municija);
- SCM(id, -1, str);
- SCM(playerid, -1, str1);
- GivePlayerWeapon(id, oid, municija);
- return 1;
- }
- forward LSVZauzimanje(playerid);
- public LSVZauzimanje(playerid)
- {
- if(PlayerInfo[ playerid ][ pTim ] == 1)
- {
- Update3DTextLabelText(zlsvlabel, ZELENA, "[ GSF ]\n{FFFFFF}/zauzmi");
- LSVZauzetOdStrane = 1;
- GangZoneHideForAll(gangzone[ 1 ]);
- GangZoneShowForAll(gangzone[ 1 ], 0x008000AA);
- TogglePlayerControllable(playerid, true);
- foreach(Player, i)
- {
- if(PlayerInfo[ i ][ pTim ] == 1)
- {
- SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli LSV, te je svaki clan GSF-a dobio 3000$ !");
- GivePlayerMoney(i, 3000);
- Zauzima[ playerid ] = false;
- }
- }
- }
- else if(PlayerInfo[ playerid ][ pTim ] == 2)
- {
- Update3DTextLabelText(zlsvlabel, 0x6F00FFFF, "[ Ballas ]\n{FFFFFF}/zauzmi");
- LSVZauzetOdStrane = 2;
- GangZoneHideForAll(gangzone[ 1 ]);
- GangZoneShowForAll(gangzone[ 1 ], 0x6F00FFAA);
- TogglePlayerControllable(playerid, true);
- foreach(Player, i)
- {
- if(PlayerInfo[ i ][ pTim ] == 2)
- {
- SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli LSV, te je svaki clan Ballasa dobio 3000$ !");
- GivePlayerMoney(i, 3000);
- Zauzima[ playerid ] = false;
- }
- }
- }
- return 1;
- }
- forward GSFZauzimanje(playerid);
- public GSFZauzimanje(playerid)
- {
- if(PlayerInfo[ playerid ][ pTim ] == 2)
- {
- Update3DTextLabelText(zgsflabel, 0x6F00FFFF, "[ Ballas ]\n{FFFFFF}/zauzmi");
- GSFZauzetOdStrane = 2;
- GangZoneHideForAll(gangzone[ 0 ]);
- GangZoneShowForAll(gangzone[ 0 ], 0x6F00FFAA);
- TogglePlayerControllable(playerid, true);
- foreach(Player, i)
- {
- if(PlayerInfo[ i ][ pTim ] == 2)
- {
- SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli GSF, te je svaki clan Ballasa dobio 3000$ !");
- GivePlayerMoney(i, 3000);
- Zauzima[ playerid ] = false;
- }
- }
- }
- else if(PlayerInfo[ playerid ][ pTim ] == 3)
- {
- Update3DTextLabelText(zgsflabel, 0xFFFF00AA, "[ LS Vagos ]\n{FFFFFF}/zauzmi");
- GSFZauzetOdStrane = 3;
- GangZoneHideForAll(gangzone[ 0 ]);
- TogglePlayerControllable(playerid, true);
- GangZoneShowForAll(gangzone[ 0 ], 0xFFFF00FF);
- foreach(Player, i)
- {
- if(PlayerInfo[ i ][ pTim ] == 3)
- {
- SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli GSF, te je svaki clan LSV-a dobio 3000$ !");
- GivePlayerMoney(i, 3000);
- Zauzima[ playerid ] = false;
- }
- }
- }
- return 1;
- }
- forward AnimApply(playerid);
- public AnimApply(playerid)
- {
- ApplyAnimation(playerid, "BOMBER", "BOM_Plant_Loop", 4.0, 1, 0, 0, 0, 0);
- return 1;
- }
- forward BallasZauzimanje(playerid);
- public BallasZauzimanje(playerid)
- {
- if(PlayerInfo[ playerid ][ pTim ] == 1)
- {
- Update3DTextLabelText(zballaslabel, ZELENA, "[ GSF ]\n{FFFFFF}/zauzmi");
- BallasZauzetOdStrane = 1;
- GangZoneHideForAll(gangzone[ 2 ]);
- GangZoneShowForAll(gangzone[ 2 ], 0x008000AA);
- TogglePlayerControllable(playerid, true);
- foreach(Player, i)
- {
- if(PlayerInfo[ i ][ pTim ] == 1)
- {
- SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli ballas, te je svaki clan GSF-a dobio 3000$ !");
- GivePlayerMoney(i, 3000);
- Zauzima[ playerid ] = false;
- }
- }
- }
- else if(PlayerInfo[ playerid ][ pTim ] == 3)
- {
- Update3DTextLabelText(zballaslabel, 0xFFFF00FF, "[ LS Vagos ]\n{FFFFFF}/zauzmi");
- BallasZauzetOdStrane = 3;
- GangZoneHideForAll(gangzone[ 2 ]);
- GangZoneShowForAll(gangzone[ 2 ], 0xFFFF00AA);
- TogglePlayerControllable(playerid, true);
- foreach(Player, i)
- {
- if(PlayerInfo[ i ][ pTim ] == 3)
- {
- SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli ballas, te je svaki clan LSV-a dobio 3000$ !");
- GivePlayerMoney(i, 3000);
- Zauzima[ playerid ] = false;
- }
- }
- }
- return 1;
- }
- forward KickTimer(playerid);
- public KickTimer(playerid)
- {
- Kick(playerid);
- return 1;
- }
- forward BanTimer(playerid);
- public BanTimer(playerid)
- {
- Ban(playerid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment