http://forum.sa-mp.com/index.php?topic=54114.0
SAMO mi nemojte rec da pravim vlastiti ownership jer sam pokusavao i neide!!!
Naš forum je uspješno migriran na novu platformu. Svi vaši podaci, računi i sadržaj su prebačeni na GTABLKN.
Prevuci gore ili dole za pozicioniranje
Izgleda da SHadow trenutno ne radi ništa
if(strcmp(cmd, "/takeover", true) == 0)
{
if (PlayerToPoint(3, playerid, 2163.5618,-1675.0001,15.0859) || PlayerToPoint(3, playerid, 2173.1785,-2263.6768,13.3423))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo == 3||PlayerInfo == 3||PlayerInfo == 5||PlayerInfo == 5||PlayerInfo == 6||PlayerInfo == 6||PlayerInfo == 11||PlayerInfo == 11
||PlayerInfo == 12||PlayerInfo == 12||PlayerInfo == 13||PlayerInfo == 13||PlayerInfo == 16||PlayerInfo == 16)
{
SendClientMessageToAll(COLOR_RED, " Gang zona je zauzeta,i borba zavrsava za 10min ! ");
if (PlayerToPoint(3, playerid, 2173.1785,-2263.6768,13.3423))
{
Materijali = GangZoneCreate(2114.500000, -2357.658935, 2258.500000, -2189.658935);
GangZoneShowForPlayer(playerid, Materijali, 0xFFFF00AA);
format(string,sizeof(string), " %s je zauzeo Materijal Zonu! ", sendername);
SendClientMessageToAll(COLOR_RED, string);
SetTimer("RacketOver", 600000, 0);
}
if (PlayerToPoint(3, playerid, 2163.5618,-1675.0001,15.0859))
{
Droga = GangZoneCreate(2110.686767, -1752.192871, 2214.686767, -1624.192871);
GangZoneShowForPlayer(playerid, Droga,0xFFFFFFAA);
format(string,sizeof(string), " %s je zauzeo Droga Zonu! ", sendername);
SendClientMessageToAll(COLOR_RED, string);
SetTimer("RacketOver", 600000, 0);
}
}
else
{
SendClientMessage(playerid, COLOR_RED, " ** Nisi u bandi/mafiji !");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, " ** Nisi na mjestu za zauzimanje Gang zone ! **");
}
return 1;
}
if(strcmp(cmd, "/capture", true) == 0)
{
if (PlayerToPoint(3, playerid, 2163.5618,-1675.0001,15.0859) || PlayerToPoint(3, playerid, 2173.1785,-2263.6768,13.3423))
{
if (RacketsTime == 1)// ako je gang zone vec /takeover -ana
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (PlayerToPoint(3, playerid, 2173.1785,-2263.6768,13.3423))
{
Materijali = GangZoneCreate(2114.500000, -2357.658935, 2258.500000, -2189.658935);
GangZoneShowForPlayer(playerid, Materijali, 0xFFFF00AA);
format(string,sizeof(string), " %s je preuzeo Materijal Zonu i mora je branit iducih 10min! ", sendername);
SendClientMessageToAll(COLOR_YELLOW, string);
SetTimer("RacketOver", 600000, 0);
}
if (PlayerToPoint(3, playerid, 2163.5618,-1675.0001,15.0859))
{
Droga = GangZoneCreate(2110.686767, -1752.192871, 2214.686767, -1624.192871);
GangZoneShowForPlayer(playerid, Droga,0xFFFFFFAA);
format(string,sizeof(string), " %s je preuzeo Droga Zonu i mora ju branit iducih 10min! ", sendername);
SendClientMessageToAll(COLOR_YELLOW, string);
SetTimer("RacketOver", 600000, 0);
}
}
}
}
return 1;
}public RacketOver()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
RacketsTime = 0;
GivePlayerMoney(i, 50000);
SendClientMessage(i, COLOR_GREEN, " Dobio si $50 000, 3000 materijala, 100 grama droge i nesto oruzja !");
GivePlayerWeapon(i, 23, 80);
GivePlayerWeapon(i, 29, 2000);
PlayerInfo += 3000;
PlayerInfo += 100;
GangZoneDestroy(Materijali);
GangZoneDestroy(Droga);
}
}It's a filterscript
It's very fast and usefull
Made with dialogs
You can (re)size your gangzones big with the arrow keys (See video below), and with using arrow keys + key fire you can size them back less
You have 10 different transparant colors
Press enter when you have been done and a dialog will appear or you will save or not, if yes you type the name and go to Scrptfiles and open it
/gzone is the command; you must be a RCON Admin
if(MedicBill == 1 && PlayerInfo == 0 && PlayerPaintballing == 0)
{
new string;
new cut = deathcost; //PlayerInfo*deathcost;
GivePlayerMoney(playerid, -cut);
format(string, sizeof(string), "DOC: Vas bolnicki racun iznosi $%d, Ugodan dan.", cut);
SendClientMessage(playerid, TEAM_CYAN_COLOR, string);
MedicBill = 0;
MedicTime = 0;
NeedMedicTime = 0;
PlayerInfo += 1;
SetPlayerHealth(playerid, 50.0);Nivo 3
6 / 20 otključano