Zone

9. Dec. 2017.
629
pregleda
12
postova
Nikola4
4
Made Man
9. Dec. 2017.
Skripta koju koristim:Ghost Town 1.8
Detaljan opis problema:Ovako,kada kreiram prvu zonu i pokusam /zauzmi ono radi i krene da je zauzima,kada kreiram drugu zonu i pokusam /zauzmi ono nece i pise da nisam blizu mesta za zauzimanje a kod pickupa sam.
Dio skripte:Evo forwardi
forward UcitajZonu(idzona, name[], value[]);
public UcitajZonu(idzona, name[], value[])
{
INI_Float("minX",GZ);
INI_Float("minY",GZ);
INI_Float("maxX",GZ);
INI_Float("maxY",GZ);
INI_Int("Team",GZ);
INI_Int("Preuzeto",GZ);
INI_Int("Glavna",GZ);
INI_Float("Pickupx",GZ);
INI_Float("Pickupy",GZ);
INI_Float("Pickupz",GZ);
return 1;
}
//******************************************************************************
//-------------------------------Zauzimanje-------------------------------------
forward SacuvajZonu(idzona);
public SacuvajZonu(idzona)
{
new dFile;
format(dFile, sizeof(dFile),"zone/Zona_%d.ini",idzona);
new INI:File = INI_Open(dFile);
INI_WriteFloat(File,"minX",GZ);
INI_WriteFloat(File,"minY",GZ);
INI_WriteFloat(File,"maxX",GZ);
INI_WriteFloat(File,"maxY",GZ);
INI_WriteInt(File,"Team",GZ);
INI_WriteInt(File,"Preuzeto",GZ);
INI_WriteInt(File,"Glavna",GZ);
INI_WriteFloat(File,"Pickupx",GZ);
INI_WriteFloat(File,"Pickupy",GZ);
INI_WriteFloat(File,"Pickupz",GZ);
INI_Close(File);
return 1;
}

Evo i ovo
	//-------------------------------Zauzimanje-------------------------------------
//----------------------------------------
    for(new b = 0; b < sizeof(GZ); b++)
{
new gFile;
format(gFile, 50, "zone/Zona_%d.ini" ,b);
if(fexist(gFile))
{
  INI_ParseFile(gFile, "UcitajZonu", .bExtra = true, .extra = b);
if(GZ != 0)
  {
ZonaID = GangZoneCreate(GZ, GZ, GZ, GZ);
new string;
new status;
if(GZ == 1) { status = "The Vinci Family"; }
else if(GZ == 2) { status = "Black Dragon Triads"; }
else if(GZ == 3) { status = "Groove Street Family"; }
else if(GZ == 4) { status = "Ballas"; }
else if(GZ == 5) { status = "The Escobar Cartel"; }
else if(GZ == 6) { status = "Blue Lagoon"; }
else if(GZ == 7) { status = "Da Naga Boys"; }
else if(GZ == 8) { status = "Black Cobra Corporation"; }
else if(GZ == 9) { status = "DeathRow"; }
else if(GZ == 10) { status = "Russian Mafia"; }
else if(GZ == 11) { status = "La Cosa Nostra"; }
format(string,sizeof(string),"{19B0E3}[ {FFFFFF}TERITORIJA {19B0E3}]\nTeritorija je u vlasnistvu {FFFFFF}%s\n{19B0E3}Ako zelis da je zauzmes kucaj {FFFFFF}/zauzmi\n{19B0E3}Zona: %d",status, b);
ZonaLabel = CreateDynamic3DTextLabel(string ,0x33CCFFAA,GZ, GZ, GZ,15);
ZonaPickup = CreateDynamicPickup(1254, 1, GZ, GZ, GZ);
printf(" Y_INI | Zona %d ucitana",b);
}
}
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):///
Adam_Lay
6
Underboss
9. Dec. 2017.
Hm...Daj nam komandu /zauzmi,provjeri spremi li ti se sve ok...
Nikola4
4
Made Man
9. Dec. 2017.
YCMD:zauzmi(playerid, params[], help)
{
#pragma unused help
new sat, minut, sekund;
gettime(sat, minut, sekund);
if(sat >= 3 && sat <= 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati teritorije izmedju 7-3h!");
new gunID = GetPlayerWeapon(playerid);
new gunAmmo = GetPlayerAmmo(playerid);
if(gunID != 0 && gunAmmo != 0)
{
}
else return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Morate drzati oruzje u ruci kako biste zapoceli osvajanje teritorije!");
if(PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 7 || PlayerInfo == 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Vi ste clan drzavne organizacije, vi morate da vodite red oko igraca!");
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo == 8 || PlayerInfo == 8 || PlayerInfo == 10 || PlayerInfo == 10 || PlayerInfo == 0 || PlayerInfo == 0 ||
PlayerInfo == 14 || PlayerInfo == 14) return SCM(playerid,SVETLOPLAVA,"Niste clan bande/mafije.");
for(new id = 0; id < sizeof(GZ); id++)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, GZ, GZ, GZ))
{
new string;
new clan = PlayerInfo;
new lider = PlayerInfo;
if(GZ == 1)
{
if(clan == 2 || lider == 2) //----The Vinci Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 2)
{
if(clan == 3 || lider == 3) //----Black Dragon Triads
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 3)
{
if(clan == 4 || lider == 4) //----Groove Street Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 4)
{
if(clan == 5 || lider == 5) //----Ballas
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 5)
{
if(clan == 9 || lider == 9) //----TEC
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 6)
{
if(clan == 11 || lider == 11) //----Blue Lagoon
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 7)
{
if(clan == 13 || lider == 13) //----Da Naga Boys
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 8)
{
if(clan == 17 || lider == 17) //----Black Cobra Corporation
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 9)
{
if(clan == 19 || lider == 19) //----DeathRow
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 10)
{
if(clan == 20 || lider == 20) //----Russian Mafia
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 11)
{
if(clan == 18 || lider == 18) //----LCN
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
GZ = 120;
zonaid = id;
zonatime = 300; //10min
zonas = 120;
zonatimer = SetTimerEx("ZonaZauzmi", 500, true, "i", playerid);
SCM(playerid,-1,""SPLAVA"ZAPOCEO SI ZAUZIMANJE TERITORIJE. "BELA"Moras ostati ziv sljedecih 5 minuta kako bi je osvojio.");
SCM(playerid,-1,""SPLAVA": "BELA"Ne smes se previse udaljiti od mjesta zauzimanja, jer ce zauzimanje biti prekinuto.");
///////////////////////FLASHING/////////////////////
if(clan == 2 || lider == 2)        //<<<<----The Vinci Family
{
GangZoneFlashForAll(ZonaID,0xAA3333AA);
}
if(clan == 3 || lider == 3)        //<<<<----Black Dragon Triads
{
GangZoneFlashForAll(ZonaID,0xC2A2DAAA);
}
if(clan == 4 || lider == 4)        //<<<<<-----Groove Street Family
{
GangZoneFlashForAll(ZonaID,0x00e60099);
}
if(clan == 5 || lider == 5)        //<<<<<----Ballas
{
GangZoneFlashForAll(ZonaID,0xD1345B99);
}
if(clan == 9 || lider == 9)        //<<<<<---Condot
{
GangZoneFlashForAll(ZonaID,0xc8c37f);
}
if(clan == 11 || lider == 11)        //<<<<<----Blue Lagoon
{
GangZoneFlashForAll(ZonaID,0x2641FEAA);
}
if(clan == 13 || lider == 13)        //<<<<<----Da Naga Boys
{
GangZoneFlashForAll(ZonaID,0xDABB3EAA);
}
if(clan == 17 || lider == 17)        //<<<<<----Black Cobra Corporation
{
GangZoneFlashForAll(ZonaID,0xFFFFFFAA);
}
if(clan == 19 || lider == 19)        //<<<<<----DeathRow
{
GangZoneFlashForAll(ZonaID,0xAFAFAFAA);
}
if(clan == 20 || lider == 20)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0x00D2E1FF);
}
if(clan == 18 || lider == 18)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0xFFAA00FF);
}
////////////////////////////////////////////////////////////////////////
if(PlayerInfo > 0)
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}
else
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}

if(GZ == 1) //---The Vinci Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(2,-1,string);
}
if(GZ == 2)  //---Black Dragon Triads
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(3,-1,string);
}
if(GZ == 3)  //---Groove Street Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(4,-1,string);
}
if(GZ == 4)  //---Bsllas
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(5,-1,string);
}
if(GZ == 5)  //---TEC
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(9,-1,string);
}
if(GZ == 6)  //---Blue Lagoon
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(11,-1,string);
}
if(GZ == 7)  //---Da Naga Boys
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(13,-1,string);
}
        if(GZ == 8)  //---Black Cobra Corporation
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(17,-1,string);
}
        if(GZ == 9)  //---DeathRow
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(19,-1,string);
}
        if(GZ == 10)  //---Russian Mafia
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
        if(GZ == 11)  //---LCN
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
//----------------------------------------------------------------------
return 1;
}
}
return SCM(playerid, -1, "("BELA"Greska "BELA"Ne nalazite se u blizini tacke za preuzimanje zone!");
}
Nikola4
4
Made Man
9. Dec. 2017.
Sve se normalno sacuva.Sve zone se lepo sacuvaju.
Adam_Lay
6
Underboss
9. Dec. 2017.
Izbriši svoju komandu i stavi ovu
YCMD:zauzmi(playerid, params[], help)
{
#pragma unused help
new sat, minut, sekund;
gettime(sat, minut, sekund);
if(sat >= 3 && sat <= 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati teritorije izmedju 7-3h!");
new gunID = GetPlayerWeapon(playerid);
new gunAmmo = GetPlayerAmmo(playerid);
if(gunID != 0 && gunAmmo != 0)
{
}
else return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Morate drzati oruzje u ruci kako biste zapoceli osvajanje teritorije!");
if(PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 7 || PlayerInfo == 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Vi ste clan drzavne organizacije, vi morate da vodite red oko igraca!");
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo == 8 || PlayerInfo == 8 || PlayerInfo == 10 || PlayerInfo == 10 || PlayerInfo == 0 || PlayerInfo == 0 ||
PlayerInfo == 14 || PlayerInfo == 14) return SCM(playerid,SVETLOPLAVA,"Niste clan bande/mafije.");
for(new id = 0; id < sizeof(GZ); id++)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, GZ, GZ, GZ))
{
new string;
new clan = PlayerInfo;
new lider = PlayerInfo;
if(GZ == 1)
{
if(clan == 2 || lider == 2) //----The Vinci Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 2)
{
if(clan == 3 || lider == 3) //----Black Dragon Triads
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 3)
{
if(clan == 4 || lider == 4) //----Groove Street Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 4)
{
if(clan == 5 || lider == 5) //----Ballas
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 5)
{
if(clan == 9 || lider == 9) //----TEC
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 6)
{
if(clan == 11 || lider == 11) //----Blue Lagoon
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 7)
{
if(clan == 13 || lider == 13) //----Da Naga Boys
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 8)
{
if(clan == 17 || lider == 17) //----Black Cobra Corporation
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 9)
{
if(clan == 19 || lider == 19) //----DeathRow
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 10)
{
if(clan == 20 || lider == 20) //----Russian Mafia
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 11)
{
if(clan == 18 || lider == 18) //----LCN
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
GZ = 120;
zonaid = id;
zonatime = 300; //10min
zonas = 120;
zonatimer = SetTimerEx("ZonaZauzmi", 500, true, "i", playerid);
SCM(playerid,-1,""SPLAVA"ZAPOCEO SI ZAUZIMANJE TERITORIJE. "BELA"Moras ostati ziv sljedecih 5 minuta kako bi je osvojio.");
SCM(playerid,-1,""SPLAVA": "BELA"Ne smes se previse udaljiti od mjesta zauzimanja, jer ce zauzimanje biti prekinuto.");
///////////////////////FLASHING/////////////////////
if(clan == 2 || lider == 2)        //<<<<----The Vinci Family
{
GangZoneFlashForAll(ZonaID,0xAA3333AA);
}
if(clan == 3 || lider == 3)        //<<<<----Black Dragon Triads
{
GangZoneFlashForAll(ZonaID,0xC2A2DAAA);
}
if(clan == 4 || lider == 4)        //<<<<<-----Groove Street Family
{
GangZoneFlashForAll(ZonaID,0x00e60099);
}
if(clan == 5 || lider == 5)        //<<<<<----Ballas
{
GangZoneFlashForAll(ZonaID,0xD1345B99);
}
if(clan == 9 || lider == 9)        //<<<<<---Condot
{
GangZoneFlashForAll(ZonaID,0xc8c37f);
}
if(clan == 11 || lider == 11)        //<<<<<----Blue Lagoon
{
GangZoneFlashForAll(ZonaID,0x2641FEAA);
}
if(clan == 13 || lider == 13)        //<<<<<----Da Naga Boys
{
GangZoneFlashForAll(ZonaID,0xDABB3EAA);
}
if(clan == 17 || lider == 17)        //<<<<<----Black Cobra Corporation
{
GangZoneFlashForAll(ZonaID,0xFFFFFFAA);
}
if(clan == 19 || lider == 19)        //<<<<<----DeathRow
{
GangZoneFlashForAll(ZonaID,0xAFAFAFAA);
}
if(clan == 20 || lider == 20)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0x00D2E1FF);
}
if(clan == 18 || lider == 18)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0xFFAA00FF);
}
////////////////////////////////////////////////////////////////////////
if(PlayerInfo > 0)
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}
else
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}

if(GZ == 1) //---The Vinci Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(2,-1,string);
}
if(GZ == 2)  //---Black Dragon Triads
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(3,-1,string);
}
if(GZ == 3)  //---Groove Street Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(4,-1,string);
}
if(GZ == 4)  //---Bsllas
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(5,-1,string);
}
if(GZ == 5)  //---TEC
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(9,-1,string);
}
if(GZ == 6)  //---Blue Lagoon
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(11,-1,string);
}
if(GZ == 7)  //---Da Naga Boys
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(13,-1,string);
}
        if(GZ == 8)  //---Black Cobra Corporation
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(17,-1,string);
}
        if(GZ == 9)  //---DeathRow
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(19,-1,string);
}
        if(GZ == 10)  //---Russian Mafia
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
        if(GZ == 11)  //---LCN
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
//----------------------------------------------------------------------
return 1;
}
}
return SCM(playerid, -1, "("BELA"Greska "BELA"Ne nalazite se u blizini tacke za preuzimanje zone!");
}
Nikola4
4
Made Man
9. Dec. 2017.
Sada se desava to sa /obrisizonu pise da nisam blizu nje i kad krenem da zauzimam nece da se promeni boja ni da treperi ni kada zauzmem.
Eldin Fratello
5
Forum Don
9. Dec. 2017.
Ne smiješ raditi DP, čitaj pravila...
@MEDO @Łuk @anDro_
Adam_Lay
6
Underboss
9. Dec. 2017.
Nikola4 wrote on December 9, 2017, 6:10 pm:
Tacnije samo se menja boja za zonu id 0

Što se tiče brisanja daj mi tu komandu.
Zalijepi ovu i bit će ok i sa bojam
YCMD:zauzmi(playerid, params[], help)
{
#pragma unused help
new sat, minut, sekund;
gettime(sat, minut, sekund);
if(sat >= 3 && sat <= 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati teritorije izmedju 7-3h!");
new gunID = GetPlayerWeapon(playerid);
new gunAmmo = GetPlayerAmmo(playerid);
if(gunID != 0 && gunAmmo != 0)
{
}
else return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Morate drzati oruzje u ruci kako biste zapoceli osvajanje teritorije!");
if(PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 7 || PlayerInfo == 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Vi ste clan drzavne organizacije, vi morate da vodite red oko igraca!");
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo == 8 || PlayerInfo == 8 || PlayerInfo == 10 || PlayerInfo == 10 || PlayerInfo == 0 || PlayerInfo == 0 ||
PlayerInfo == 14 || PlayerInfo == 14) return SCM(playerid,SVETLOPLAVA,"Niste clan bande/mafije.");
for(new id = 0; id < sizeof(GZ); id++)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, GZ, GZ, GZ))
{
new string;
new clan = PlayerInfo;
new lider = PlayerInfo;
if(GZ == 1)
{
if(clan == 2 || lider == 2) //----The Vinci Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 2)
{
if(clan == 3 || lider == 3) //----Black Dragon Triads
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 3)
{
if(clan == 4 || lider == 4) //----Groove Street Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 4)
{
if(clan == 5 || lider == 5) //----Ballas
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 5)
{
if(clan == 9 || lider == 9) //----TEC
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 6)
{
if(clan == 11 || lider == 11) //----Blue Lagoon
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 7)
{
if(clan == 13 || lider == 13) //----Da Naga Boys
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 8)
{
if(clan == 17 || lider == 17) //----Black Cobra Corporation
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 9)
{
if(clan == 19 || lider == 19) //----DeathRow
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 10)
{
if(clan == 20 || lider == 20) //----Russian Mafia
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 11)
{
if(clan == 18 || lider == 18) //----LCN
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
GZ = 120;
zonaid = id;
zonatime = 300; //10min
zonas = 120;
zonatimer = SetTimerEx("ZonaZauzmi", 500, true, "i", playerid);
SCM(playerid,-1,""SPLAVA"ZAPOCEO SI ZAUZIMANJE TERITORIJE. "BELA"Moras ostati ziv sljedecih 5 minuta kako bi je osvojio.");
SCM(playerid,-1,""SPLAVA": "BELA"Ne smes se previse udaljiti od mjesta zauzimanja, jer ce zauzimanje biti prekinuto.");
///////////////////////FLASHING/////////////////////
if(clan == 2 || lider == 2)        //<<<<----The Vinci Family
{
GangZoneFlashForAll(ZonaID,0xAA3333AA);
}
if(clan == 3 || lider == 3)        //<<<<----Black Dragon Triads
{
GangZoneFlashForAll(ZonaID,0xC2A2DAAA);
}
if(clan == 4 || lider == 4)        //<<<<<-----Groove Street Family
{
GangZoneFlashForAll(ZonaID,0x00e60099);
}
if(clan == 5 || lider == 5)        //<<<<<----Ballas
{
GangZoneFlashForAll(ZonaID,0xD1345B99);
}
if(clan == 9 || lider == 9)        //<<<<<---Condot
{
GangZoneFlashForAll(ZonaID,0xc8c37f);
}
if(clan == 11 || lider == 11)        //<<<<<----Blue Lagoon
{
GangZoneFlashForAll(ZonaID,0x2641FEAA);
}
if(clan == 13 || lider == 13)        //<<<<<----Da Naga Boys
{
GangZoneFlashForAll(ZonaID,0xDABB3EAA);
}
if(clan == 17 || lider == 17)        //<<<<<----Black Cobra Corporation
{
GangZoneFlashForAll(ZonaID,0xFFFFFFAA);
}
if(clan == 19 || lider == 19)        //<<<<<----DeathRow
{
GangZoneFlashForAll(ZonaID,0xAFAFAFAA);
}
if(clan == 20 || lider == 20)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0x00D2E1FF);
}
if(clan == 18 || lider == 18)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0xFFAA00FF);
}
////////////////////////////////////////////////////////////////////////
if(PlayerInfo > 0)
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}
else
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}

if(GZ == 1) //---The Vinci Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(2,-1,string);
}
if(GZ == 2)  //---Black Dragon Triads
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(3,-1,string);
}
if(GZ == 3)  //---Groove Street Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(4,-1,string);
}
if(GZ == 4)  //---Bsllas
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(5,-1,string);
}
if(GZ == 5)  //---TEC
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(9,-1,string);
}
if(GZ == 6)  //---Blue Lagoon
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(11,-1,string);
}
if(GZ == 7)  //---Da Naga Boys
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(13,-1,string);
}
        if(GZ == 8)  //---Black Cobra Corporation
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(17,-1,string);
}
        if(GZ == 9)  //---DeathRow
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(19,-1,string);
}
        if(GZ == 10)  //---Russian Mafia
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
        if(GZ == 11)  //---LCN
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
//----------------------------------------------------------------------
return 1;
}
}
return SCM(playerid, -1, "("BELA"Greska "BELA"Ne nalazite se u blizini tacke za preuzimanje zone!");
}
Nikola4
4
Made Man
9. Dec. 2017.
Paul Castellano wrote on December 9, 2017, 6:10 pm:
Tacnije samo se menja boja za zonu id 0

Što se tiče brisanja daj mi tu komandu.
Zalijepi ovu i bit će ok i sa bojam
YCMD:zauzmi(playerid, params[], help)
{
#pragma unused help
new sat, minut, sekund;
gettime(sat, minut, sekund);
if(sat >= 3 && sat <= 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati teritorije izmedju 7-3h!");
new gunID = GetPlayerWeapon(playerid);
new gunAmmo = GetPlayerAmmo(playerid);
if(gunID != 0 && gunAmmo != 0)
{
}
else return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Morate drzati oruzje u ruci kako biste zapoceli osvajanje teritorije!");
if(PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 7 || PlayerInfo == 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Vi ste clan drzavne organizacije, vi morate da vodite red oko igraca!");
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo == 8 || PlayerInfo == 8 || PlayerInfo == 10 || PlayerInfo == 10 || PlayerInfo == 0 || PlayerInfo == 0 ||
PlayerInfo == 14 || PlayerInfo == 14) return SCM(playerid,SVETLOPLAVA,"Niste clan bande/mafije.");
for(new id = 0; id < sizeof(GZ); id++)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, GZ, GZ, GZ))
{
new string;
new clan = PlayerInfo;
new lider = PlayerInfo;
if(GZ == 1)
{
if(clan == 2 || lider == 2) //----The Vinci Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 2)
{
if(clan == 3 || lider == 3) //----Black Dragon Triads
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 3)
{
if(clan == 4 || lider == 4) //----Groove Street Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 4)
{
if(clan == 5 || lider == 5) //----Ballas
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 5)
{
if(clan == 9 || lider == 9) //----TEC
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 6)
{
if(clan == 11 || lider == 11) //----Blue Lagoon
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 7)
{
if(clan == 13 || lider == 13) //----Da Naga Boys
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 8)
{
if(clan == 17 || lider == 17) //----Black Cobra Corporation
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 9)
{
if(clan == 19 || lider == 19) //----DeathRow
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 10)
{
if(clan == 20 || lider == 20) //----Russian Mafia
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 11)
{
if(clan == 18 || lider == 18) //----LCN
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
GZ = 120;
zonaid = id;
zonatime = 300; //10min
zonas = 120;
zonatimer = SetTimerEx("ZonaZauzmi", 500, true, "i", playerid);
SCM(playerid,-1,""SPLAVA"ZAPOCEO SI ZAUZIMANJE TERITORIJE. "BELA"Moras ostati ziv sljedecih 5 minuta kako bi je osvojio.");
SCM(playerid,-1,""SPLAVA": "BELA"Ne smes se previse udaljiti od mjesta zauzimanja, jer ce zauzimanje biti prekinuto.");
///////////////////////FLASHING/////////////////////
if(clan == 2 || lider == 2)        //<<<<----The Vinci Family
{
GangZoneFlashForAll(ZonaID,0xAA3333AA);
}
if(clan == 3 || lider == 3)        //<<<<----Black Dragon Triads
{
GangZoneFlashForAll(ZonaID,0xC2A2DAAA);
}
if(clan == 4 || lider == 4)        //<<<<<-----Groove Street Family
{
GangZoneFlashForAll(ZonaID,0x00e60099);
}
if(clan == 5 || lider == 5)        //<<<<<----Ballas
{
GangZoneFlashForAll(ZonaID,0xD1345B99);
}
if(clan == 9 || lider == 9)        //<<<<<---Condot
{
GangZoneFlashForAll(ZonaID,0xc8c37f);
}
if(clan == 11 || lider == 11)        //<<<<<----Blue Lagoon
{
GangZoneFlashForAll(ZonaID,0x2641FEAA);
}
if(clan == 13 || lider == 13)        //<<<<<----Da Naga Boys
{
GangZoneFlashForAll(ZonaID,0xDABB3EAA);
}
if(clan == 17 || lider == 17)        //<<<<<----Black Cobra Corporation
{
GangZoneFlashForAll(ZonaID,0xFFFFFFAA);
}
if(clan == 19 || lider == 19)        //<<<<<----DeathRow
{
GangZoneFlashForAll(ZonaID,0xAFAFAFAA);
}
if(clan == 20 || lider == 20)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0x00D2E1FF);
}
if(clan == 18 || lider == 18)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0xFFAA00FF);
}
////////////////////////////////////////////////////////////////////////
if(PlayerInfo > 0)
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}
else
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}

if(GZ == 1) //---The Vinci Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(2,-1,string);
}
if(GZ == 2)  //---Black Dragon Triads
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(3,-1,string);
}
if(GZ == 3)  //---Groove Street Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(4,-1,string);
}
if(GZ == 4)  //---Bsllas
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(5,-1,string);
}
if(GZ == 5)  //---TEC
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(9,-1,string);
}
if(GZ == 6)  //---Blue Lagoon
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(11,-1,string);
}
if(GZ == 7)  //---Da Naga Boys
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(13,-1,string);
}
        if(GZ == 8)  //---Black Cobra Corporation
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(17,-1,string);
}
        if(GZ == 9)  //---DeathRow
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(19,-1,string);
}
        if(GZ == 10)  //---Russian Mafia
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
        if(GZ == 11)  //---LCN
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
//----------------------------------------------------------------------
return 1;
}
}
return SCM(playerid, -1, "("BELA"Greska "BELA"Ne nalazite se u blizini tacke za preuzimanje zone!");
}

Neka brisanja mogu i preko ftpa obrisati,hvala ti sto si mi pomogao duzan sa ti <3
Nikola4
4
Made Man
9. Dec. 2017.
Paul Castellano wrote on December 9, 2017, 6:10 pm:
Tacnije samo se menja boja za zonu id 0

Što se tiče brisanja daj mi tu komandu.
Zalijepi ovu i bit će ok i sa bojam
YCMD:zauzmi(playerid, params[], help)
{
#pragma unused help
new sat, minut, sekund;
gettime(sat, minut, sekund);
if(sat >= 3 && sat <= 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati teritorije izmedju 7-3h!");
new gunID = GetPlayerWeapon(playerid);
new gunAmmo = GetPlayerAmmo(playerid);
if(gunID != 0 && gunAmmo != 0)
{
}
else return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Morate drzati oruzje u ruci kako biste zapoceli osvajanje teritorije!");
if(PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 7 || PlayerInfo == 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Vi ste clan drzavne organizacije, vi morate da vodite red oko igraca!");
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo == 8 || PlayerInfo == 8 || PlayerInfo == 10 || PlayerInfo == 10 || PlayerInfo == 0 || PlayerInfo == 0 ||
PlayerInfo == 14 || PlayerInfo == 14) return SCM(playerid,SVETLOPLAVA,"Niste clan bande/mafije.");
for(new id = 0; id < sizeof(GZ); id++)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, GZ, GZ, GZ))
{
new string;
new clan = PlayerInfo;
new lider = PlayerInfo;
if(GZ == 1)
{
if(clan == 2 || lider == 2) //----The Vinci Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 2)
{
if(clan == 3 || lider == 3) //----Black Dragon Triads
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 3)
{
if(clan == 4 || lider == 4) //----Groove Street Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 4)
{
if(clan == 5 || lider == 5) //----Ballas
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 5)
{
if(clan == 9 || lider == 9) //----TEC
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 6)
{
if(clan == 11 || lider == 11) //----Blue Lagoon
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 7)
{
if(clan == 13 || lider == 13) //----Da Naga Boys
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 8)
{
if(clan == 17 || lider == 17) //----Black Cobra Corporation
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 9)
{
if(clan == 19 || lider == 19) //----DeathRow
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 10)
{
if(clan == 20 || lider == 20) //----Russian Mafia
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 11)
{
if(clan == 18 || lider == 18) //----LCN
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
GZ = 120;
zonaid = id;
zonatime = 300; //10min
zonas = 120;
zonatimer = SetTimerEx("ZonaZauzmi", 500, true, "i", playerid);
SCM(playerid,-1,""SPLAVA"ZAPOCEO SI ZAUZIMANJE TERITORIJE. "BELA"Moras ostati ziv sljedecih 5 minuta kako bi je osvojio.");
SCM(playerid,-1,""SPLAVA": "BELA"Ne smes se previse udaljiti od mjesta zauzimanja, jer ce zauzimanje biti prekinuto.");
///////////////////////FLASHING/////////////////////
if(clan == 2 || lider == 2)        //<<<<----The Vinci Family
{
GangZoneFlashForAll(ZonaID,0xAA3333AA);
}
if(clan == 3 || lider == 3)        //<<<<----Black Dragon Triads
{
GangZoneFlashForAll(ZonaID,0xC2A2DAAA);
}
if(clan == 4 || lider == 4)        //<<<<<-----Groove Street Family
{
GangZoneFlashForAll(ZonaID,0x00e60099);
}
if(clan == 5 || lider == 5)        //<<<<<----Ballas
{
GangZoneFlashForAll(ZonaID,0xD1345B99);
}
if(clan == 9 || lider == 9)        //<<<<<---Condot
{
GangZoneFlashForAll(ZonaID,0xc8c37f);
}
if(clan == 11 || lider == 11)        //<<<<<----Blue Lagoon
{
GangZoneFlashForAll(ZonaID,0x2641FEAA);
}
if(clan == 13 || lider == 13)        //<<<<<----Da Naga Boys
{
GangZoneFlashForAll(ZonaID,0xDABB3EAA);
}
if(clan == 17 || lider == 17)        //<<<<<----Black Cobra Corporation
{
GangZoneFlashForAll(ZonaID,0xFFFFFFAA);
}
if(clan == 19 || lider == 19)        //<<<<<----DeathRow
{
GangZoneFlashForAll(ZonaID,0xAFAFAFAA);
}
if(clan == 20 || lider == 20)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0x00D2E1FF);
}
if(clan == 18 || lider == 18)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0xFFAA00FF);
}
////////////////////////////////////////////////////////////////////////
if(PlayerInfo > 0)
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}
else
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}

if(GZ == 1) //---The Vinci Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(2,-1,string);
}
if(GZ == 2)  //---Black Dragon Triads
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(3,-1,string);
}
if(GZ == 3)  //---Groove Street Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(4,-1,string);
}
if(GZ == 4)  //---Bsllas
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(5,-1,string);
}
if(GZ == 5)  //---TEC
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(9,-1,string);
}
if(GZ == 6)  //---Blue Lagoon
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(11,-1,string);
}
if(GZ == 7)  //---Da Naga Boys
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(13,-1,string);
}
        if(GZ == 8)  //---Black Cobra Corporation
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(17,-1,string);
}
        if(GZ == 9)  //---DeathRow
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(19,-1,string);
}
        if(GZ == 10)  //---Russian Mafia
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
        if(GZ == 11)  //---LCN
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
//----------------------------------------------------------------------
return 1;
}
}
return SCM(playerid, -1, "("BELA"Greska "BELA"Ne nalazite se u blizini tacke za preuzimanje zone!");
}

Idalje ne radi i kada zauzmem zonu ono krene da spamuje "Zauzeli ste zonu" i iako zauzimam mogu da koristim /zauzmi i mogu da je spamujem.
Adam_Lay
6
Underboss
9. Dec. 2017.
Nisi imao provjere jel se zona zauzima.stavi ovako i trebalo bi sve raditi
YCMD:zauzmi(playerid, params[], help)
{
#pragma unused help
new sat, minut, sekund;
gettime(sat, minut, sekund);
if(sat >= 3 && sat <= 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati teritorije izmedju 7-3h!");
new gunID = GetPlayerWeapon(playerid);
new gunAmmo = GetPlayerAmmo(playerid);
if(gunID != 0 && gunAmmo != 0)
{
}
else return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Morate drzati oruzje u ruci kako biste zapoceli osvajanje teritorije!");
if(PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 7 || PlayerInfo == 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Vi ste clan drzavne organizacije, vi morate da vodite red oko igraca!");
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo == 8 || PlayerInfo == 8 || PlayerInfo == 10 || PlayerInfo == 10 || PlayerInfo == 0 || PlayerInfo == 0 ||
PlayerInfo == 14 || PlayerInfo == 14) return SCM(playerid,SVETLOPLAVA,"Niste clan bande/mafije.");
for(new id = 0; id < sizeof(GZ); id++)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, GZ, GZ, GZ))
{
new string;
new clan = PlayerInfo;
new lider = PlayerInfo;
if(GZ == 1)
{
if(clan == 2 || lider == 2) //----The Vinci Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 2)
{
if(clan == 3 || lider == 3) //----Black Dragon Triads
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 3)
{
if(clan == 4 || lider == 4) //----Groove Street Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 4)
{
if(clan == 5 || lider == 5) //----Ballas
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 5)
{
if(clan == 9 || lider == 9) //----TEC
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 6)
{
if(clan == 11 || lider == 11) //----Blue Lagoon
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 7)
{
if(clan == 13 || lider == 13) //----Da Naga Boys
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 8)
{
if(clan == 17 || lider == 17) //----Black Cobra Corporation
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 9)
{
if(clan == 19 || lider == 19) //----DeathRow
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 10)
{
if(clan == 20 || lider == 20) //----Russian Mafia
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 11)
{
if(clan == 18 || lider == 18) //----LCN
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ > 0) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ova teritorija je skoro ukupirana,sacekajte malo.");
GZ = 120;
zonaid = id;
zonatime = 300; //10min
zonas = 120;
zonatimer = SetTimerEx("ZonaZauzmi", 500, true, "i", playerid);
SCM(playerid,-1,""SPLAVA"ZAPOCEO SI ZAUZIMANJE TERITORIJE. "BELA"Moras ostati ziv sljedecih 5 minuta kako bi je osvojio.");
SCM(playerid,-1,""SPLAVA": "BELA"Ne smes se previse udaljiti od mjesta zauzimanja, jer ce zauzimanje biti prekinuto.");
///////////////////////FLASHING/////////////////////
if(clan == 2 || lider == 2)        //<<<<----The Vinci Family
{
GangZoneFlashForAll(ZonaID,0xAA3333AA);
}
if(clan == 3 || lider == 3)        //<<<<----Black Dragon Triads
{
GangZoneFlashForAll(ZonaID,0xC2A2DAAA);
}
if(clan == 4 || lider == 4)        //<<<<<-----Groove Street Family
{
GangZoneFlashForAll(ZonaID,0x00e60099);
}
if(clan == 5 || lider == 5)        //<<<<<----Ballas
{
GangZoneFlashForAll(ZonaID,0xD1345B99);
}
if(clan == 9 || lider == 9)        //<<<<<---Condot
{
GangZoneFlashForAll(ZonaID,0xc8c37f);
}
if(clan == 11 || lider == 11)        //<<<<<----Blue Lagoon
{
GangZoneFlashForAll(ZonaID,0x2641FEAA);
}
if(clan == 13 || lider == 13)        //<<<<<----Da Naga Boys
{
GangZoneFlashForAll(ZonaID,0xDABB3EAA);
}
if(clan == 17 || lider == 17)        //<<<<<----Black Cobra Corporation
{
GangZoneFlashForAll(ZonaID,0xFFFFFFAA);
}
if(clan == 19 || lider == 19)        //<<<<<----DeathRow
{
GangZoneFlashForAll(ZonaID,0xAFAFAFAA);
}
if(clan == 20 || lider == 20)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0x00D2E1FF);
}
if(clan == 18 || lider == 18)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0xFFAA00FF);
}
////////////////////////////////////////////////////////////////////////
if(PlayerInfo > 0)
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}
else
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}

if(GZ == 1) //---The Vinci Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(2,-1,string);
}
if(GZ == 2)  //---Black Dragon Triads
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(3,-1,string);
}
if(GZ == 3)  //---Groove Street Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(4,-1,string);
}
if(GZ == 4)  //---Bsllas
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(5,-1,string);
}
if(GZ == 5)  //---TEC
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(9,-1,string);
}
if(GZ == 6)  //---Blue Lagoon
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(11,-1,string);
}
if(GZ == 7)  //---Da Naga Boys
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(13,-1,string);
}
        if(GZ == 8)  //---Black Cobra Corporation
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(17,-1,string);
}
        if(GZ == 9)  //---DeathRow
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(19,-1,string);
}
        if(GZ == 10)  //---Russian Mafia
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
        if(GZ == 11)  //---LCN
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
//----------------------------------------------------------------------
return 1;
}
}
return SCM(playerid, -1, "("BELA"Greska "BELA"Ne nalazite se u blizini tacke za preuzimanje zone!");
}
Nikola4
4
Made Man
9. Dec. 2017.
Paul Castellano wrote on December 9, 2017, 6:34 pm:
Nisi imao provjere jel se zona zauzima.stavi ovako i trebalo bi sve raditi
YCMD:zauzmi(playerid, params[], help)
{
#pragma unused help
new sat, minut, sekund;
gettime(sat, minut, sekund);
if(sat >= 3 && sat <= 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati teritorije izmedju 7-3h!");
new gunID = GetPlayerWeapon(playerid);
new gunAmmo = GetPlayerAmmo(playerid);
if(gunID != 0 && gunAmmo != 0)
{
}
else return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Morate drzati oruzje u ruci kako biste zapoceli osvajanje teritorije!");
if(PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 7 || PlayerInfo == 7) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Vi ste clan drzavne organizacije, vi morate da vodite red oko igraca!");
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo == 8 || PlayerInfo == 8 || PlayerInfo == 10 || PlayerInfo == 10 || PlayerInfo == 0 || PlayerInfo == 0 ||
PlayerInfo == 14 || PlayerInfo == 14) return SCM(playerid,SVETLOPLAVA,"Niste clan bande/mafije.");
for(new id = 0; id < sizeof(GZ); id++)
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, GZ, GZ, GZ))
{
new string;
new clan = PlayerInfo;
new lider = PlayerInfo;
if(GZ == 1)
{
if(clan == 2 || lider == 2) //----The Vinci Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 2)
{
if(clan == 3 || lider == 3) //----Black Dragon Triads
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 3)
{
if(clan == 4 || lider == 4) //----Groove Street Family
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 4)
{
if(clan == 5 || lider == 5) //----Ballas
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 5)
{
if(clan == 9 || lider == 9) //----TEC
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 6)
{
if(clan == 11 || lider == 11) //----Blue Lagoon
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 7)
{
if(clan == 13 || lider == 13) //----Da Naga Boys
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 8)
{
if(clan == 17 || lider == 17) //----Black Cobra Corporation
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 9)
{
if(clan == 19 || lider == 19) //----DeathRow
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 10)
{
if(clan == 20 || lider == 20) //----Russian Mafia
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ == 11)
{
if(clan == 18 || lider == 18) //----LCN
{
SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ne mozete zauzimati svoju teritoriju!");
return 1;
}
}
if(GZ > 0) return SCM(playerid, -1, ""SPLAVA"* Greska "BELA"Ova teritorija je skoro ukupirana,sacekajte malo.");
GZ = 120;
zonaid = id;
zonatime = 300; //10min
zonas = 120;
zonatimer = SetTimerEx("ZonaZauzmi", 500, true, "i", playerid);
SCM(playerid,-1,""SPLAVA"ZAPOCEO SI ZAUZIMANJE TERITORIJE. "BELA"Moras ostati ziv sljedecih 5 minuta kako bi je osvojio.");
SCM(playerid,-1,""SPLAVA": "BELA"Ne smes se previse udaljiti od mjesta zauzimanja, jer ce zauzimanje biti prekinuto.");
///////////////////////FLASHING/////////////////////
if(clan == 2 || lider == 2)        //<<<<----The Vinci Family
{
GangZoneFlashForAll(ZonaID,0xAA3333AA);
}
if(clan == 3 || lider == 3)        //<<<<----Black Dragon Triads
{
GangZoneFlashForAll(ZonaID,0xC2A2DAAA);
}
if(clan == 4 || lider == 4)        //<<<<<-----Groove Street Family
{
GangZoneFlashForAll(ZonaID,0x00e60099);
}
if(clan == 5 || lider == 5)        //<<<<<----Ballas
{
GangZoneFlashForAll(ZonaID,0xD1345B99);
}
if(clan == 9 || lider == 9)        //<<<<<---Condot
{
GangZoneFlashForAll(ZonaID,0xc8c37f);
}
if(clan == 11 || lider == 11)        //<<<<<----Blue Lagoon
{
GangZoneFlashForAll(ZonaID,0x2641FEAA);
}
if(clan == 13 || lider == 13)        //<<<<<----Da Naga Boys
{
GangZoneFlashForAll(ZonaID,0xDABB3EAA);
}
if(clan == 17 || lider == 17)        //<<<<<----Black Cobra Corporation
{
GangZoneFlashForAll(ZonaID,0xFFFFFFAA);
}
if(clan == 19 || lider == 19)        //<<<<<----DeathRow
{
GangZoneFlashForAll(ZonaID,0xAFAFAFAA);
}
if(clan == 20 || lider == 20)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0x00D2E1FF);
}
if(clan == 18 || lider == 18)        //<<<<<----LCN
{
GangZoneFlashForAll(ZonaID,0xFFAA00FF);
}
////////////////////////////////////////////////////////////////////////
if(PlayerInfo > 0)
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}
else
{
format(string,sizeof(string),""SPLAVA" "BELA"Clan vase organizacije pokusava da zauzme tudju teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(PlayerInfo,-1,string);
}

if(GZ == 1) //---The Vinci Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(2,-1,string);
}
if(GZ == 2)  //---Black Dragon Triads
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(3,-1,string);
}
if(GZ == 3)  //---Groove Street Family
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(4,-1,string);
}
if(GZ == 4)  //---Bsllas
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(5,-1,string);
}
if(GZ == 5)  //---TEC
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(9,-1,string);
}
if(GZ == 6)  //---Blue Lagoon
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(11,-1,string);
}
if(GZ == 7)  //---Da Naga Boys
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(13,-1,string);
}
        if(GZ == 8)  //---Black Cobra Corporation
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(17,-1,string);
}
        if(GZ == 9)  //---DeathRow
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(19,-1,string);
}
        if(GZ == 10)  //---Russian Mafia
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
        if(GZ == 11)  //---LCN
{
format(string,sizeof(string),""SPLAVA" "BELA"Druga organizacija pokusava da zauzime vasu teritoriju. "BELA"[ESC MENU-MAP]");
SendFamilyMessage(20,-1,string);
}
//----------------------------------------------------------------------
return 1;
}
}
return SCM(playerid, -1, "("BELA"Greska "BELA"Ne nalazite se u blizini tacke za preuzimanje zone!");
}
Hvala sve radi <3

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha