dodjem do policijske postaje, i pokusam uci u nju kao civil, i udje mi, a kad pokusam uci kao policajac, onda nece. neznam jeli do komande /enter ili ne. stvarno nzm. ako tko zna, bio bi mu jako zavhalan.
hvala
Pa daj komandu. Nemogu ovako pomoci.
if(strcmp(cmd, "/enter", true) == 0)
{
if(IsPlayerConnected(playerid))
{
for(new i = 0; i < sizeof(HouseInfo); i++)
{
if (PlayerToPoint(3, playerid,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]))
{
//printf("Found House :%d",i);
if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[hLock] == 0)
{
SetPlayerInterior(playerid,HouseInfo[hInt]);
SetPlayerPos(playerid,HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz]);
GameTextForPlayer(playerid, "~w~Dobrodosli kuci", 5000, 1);
PlayerInfo[playerid][pInt] = HouseInfo[hInt];
PlayerInfo[playerid][pLocal] = i;
}
else
{
GameTextForPlayer(playerid, "~r~Zakljucano", 5000, 1);
}
}
}
for(new i = 0; i < sizeof(BizzInfo); i++)
{
if (PlayerToPoint(3, playerid,BizzInfo[bEntranceX], BizzInfo[bEntranceY], BizzInfo[bEntranceZ]))
{
//printf("Found House :%d",i);
if(!IsACop(playerid) && i == 3)
{
SendClientMessage(playerid, COLOR_GREY, " Policajci samo !");
return 1;
}
if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= BizzInfo[bEntranceCost])
{
if(PlayerInfo[playerid][pPbiskey] != i)
{
if(BizzInfo[bLocked] == 1)
{
GameTextForPlayer(playerid, "~r~Zatvoreno", 5000, 1);
return 1;
}
if(BizzInfo[bProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Prodano", 5000, 1);
return 1;
}
GivePlayerMoney(playerid,-BizzInfo[bEntranceCost]);
format(string, sizeof(string), "~r~-$%d~n~~w~koristite /exit~n~da izadete van", BizzInfo[bEntranceCost]);
BizzInfo[bTill] += BizzInfo[bEntranceCost];
ExtortionBiz(i, BizzInfo[bEntranceCost]);
BizzInfo[bProducts]--;
OnPropUpdate();
GameTextForPlayer(playerid, string, 5000, 3);
}
SetPlayerInterior(playerid,BizzInfo[bInterior]);
SetPlayerPos(playerid,BizzInfo[bExitX],BizzInfo[bExitY],BizzInfo[bExitZ]);
PlayerInfo[playerid][pInt] = BizzInfo[bInterior];
PlayerInfo[playerid][pLocal] = i+99;
new dood[MAX_PLAYER_NAME];
GetPlayerName(playerid, dood, sizeof(dood));
format(string, sizeof(string), "%s je platio $%d da ude u bizz %d", dood, BizzInfo[bEntranceCost], i);
printf("%s", string);
PayLog(string);
//PlayerInfo[playerid][pLocal] = i;
}
else
{
GameTextForPlayer(playerid, "~r~Nemate dovoljno novaca", 5000, 1);
}
}
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
if (PlayerToPoint(3, playerid,SBizzInfo[sbEntranceX], SBizzInfo[sbEntranceY], SBizzInfo[sbEntranceZ]))
{
if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= SBizzInfo[sbEntranceCost])
{
if(PlayerInfo[playerid][pPbiskey] != i)
{
if(SBizzInfo[sbLocked] == 1)
{
GameTextForPlayer(playerid, "~r~Zatvoreno", 5000, 1);
return 1;
}
if(SBizzInfo[sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Prodano", 5000, 1);
return 1;
}
if(i == 10)
{
PaintballPlayers ++;
PlayerPaintballing[playerid] = 1;
new rand = random(sizeof(PaintballSpawns));
SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
}
else if(i == 11)
{
PlayerKarting[playerid] = 1;
SendClientMessage(playerid, TEAM_GROVE_COLOR, "Sada se mozete ubaciti u Kart trku, uhvatite Kart.");
}
else
{
return 1;
}
GivePlayerMoney(playerid,-SBizzInfo[sbEntranceCost]);
gSpentCash[playerid] = GetPlayerMoney(playerid);
SBizzInfo[sbProducts]--;
SBizzInfo[sbTill] += SBizzInfo[sbEntranceCost];
ExtortionSBiz(i, SBizzInfo[sbEntranceCost]);
new dood[MAX_PLAYER_NAME];
GetPlayerName(playerid, dood, sizeof(dood));
format(string, sizeof(string), "%s je platio $%d da ude u sbiz %d", dood, SBizzInfo[sbEntranceCost], i);
printf("%s", string);
PayLog(string);
OnPropUpdate();
}
}
else
{
GameTextForPlayer(playerid, "~r~Nemate dovoljno novaca", 5000, 1);
}
}
}
i dalje su koordinate ulaza u ostale interiere.
Sljedeci put koristi
(samo stisnes ljestvice tamo dok pises post)
Pa meni i trebaju korinate ulaza u odtale interjere, ovo je samo za kuce i bizzove...
BTW. 100 post WOOHOO
Ti si tu stavio samo za bizzove i kuce? Zar nisi rekao da nemozes uc u policijsku postaju kao policajac? Kakve to veze ima sa bizovima i kucama...
else if (PlayerToPoint(3.0, playerid,1554.7623,-1675.6167,16.1953))//LS Police Station Enter
{
SetPlayerInterior(playerid,6);
SetPlayerPos(playerid,246.783996,63.900199,1003.640625);
}
ovo ja za ulaz u PD pod komandom /enter
a ovo je izlaz iz PD pod komandom /exit
else if (PlayerToPoint(6.0, playerid,246.783996,63.900199,1003.640625))//LS Police Station Exit
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1554.7623,-1675.6167,16.1953);
}
Isuse bože, stavi SVE. Jer nemozemo pomoci inace i koristi [ code][ /code]
#
if(strcmp(cmd, "/enter", true) == 0)
{
if(IsPlayerConnected(playerid))
{
for(new i = 0; i < sizeof(HouseInfo); i++)
{
if (PlayerToPoint(3, playerid,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]))
{
//printf("Found House :%d",i);
if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[hLock] == 0)
{
SetPlayerInterior(playerid,HouseInfo[hInt]);
SetPlayerPos(playerid,HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz]);
GameTextForPlayer(playerid, "~w~Dobrodosli kuci", 5000, 1);
PlayerInfo[playerid][pInt] = HouseInfo[hInt];
PlayerInfo[playerid][pLocal] = i;
}
else
{
GameTextForPlayer(playerid, "~r~Zakljucano", 5000, 1);
}
}
}
for(new i = 0; i < sizeof(BizzInfo); i++)
{
if (PlayerToPoint(3, playerid,BizzInfo[bEntranceX], BizzInfo[bEntranceY], BizzInfo[bEntranceZ]))
{
//printf("Found House :%d",i);
if(!IsACop(playerid) && i == 3)
{
SendClientMessage(playerid, COLOR_GREY, " Policajci samo !");
return 1;
}
if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= BizzInfo[bEntranceCost])
{
if(PlayerInfo[playerid][pPbiskey] != i)
{
if(BizzInfo[bLocked] == 1)
{
GameTextForPlayer(playerid, "~r~Zatvoreno", 5000, 1);
return 1;
}
if(BizzInfo[bProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Prodano", 5000, 1);
return 1;
}
GivePlayerMoney(playerid,-BizzInfo[bEntranceCost]);
format(string, sizeof(string), "~r~-$%d~n~~w~koristite /exit~n~da izadete van", BizzInfo[bEntranceCost]);
BizzInfo[bTill] += BizzInfo[bEntranceCost];
ExtortionBiz(i, BizzInfo[bEntranceCost]);
BizzInfo[bProducts]--;
OnPropUpdate();
GameTextForPlayer(playerid, string, 5000, 3);
}
SetPlayerInterior(playerid,BizzInfo[bInterior]);
SetPlayerPos(playerid,BizzInfo[bExitX],BizzInfo[bExitY],BizzInfo[bExitZ]);
PlayerInfo[playerid][pInt] = BizzInfo[bInterior];
PlayerInfo[playerid][pLocal] = i+99;
new dood[MAX_PLAYER_NAME];
GetPlayerName(playerid, dood, sizeof(dood));
format(string, sizeof(string), "%s je platio $%d da ude u bizz %d", dood, BizzInfo[bEntranceCost], i);
printf("%s", string);
PayLog(string);
//PlayerInfo[playerid][pLocal] = i;
}
else
{
GameTextForPlayer(playerid, "~r~Nemate dovoljno novaca", 5000, 1);
}
}
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
if (PlayerToPoint(3, playerid,SBizzInfo[sbEntranceX], SBizzInfo[sbEntranceY], SBizzInfo[sbEntranceZ]))
{
if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= SBizzInfo[sbEntranceCost])
{
if(PlayerInfo[playerid][pPbiskey] != i)
{
if(SBizzInfo[sbLocked] == 1)
{
GameTextForPlayer(playerid, "~r~Zatvoreno", 5000, 1);
return 1;
}
if(SBizzInfo[sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Prodano", 5000, 1);
return 1;
}
if(i == 10)
{
PaintballPlayers ++;
PlayerPaintballing[playerid] = 1;
new rand = random(sizeof(PaintballSpawns));
SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
}
else if(i == 11)
{
PlayerKarting[playerid] = 1;
SendClientMessage(playerid, TEAM_GROVE_COLOR, "Sada se mozete ubaciti u Kart trku, uhvatite Kart.");
}
else
{
return 1;
}
GivePlayerMoney(playerid,-SBizzInfo[sbEntranceCost]);
gSpentCash[playerid] = GetPlayerMoney(playerid);
SBizzInfo[sbProducts]--;
SBizzInfo[sbTill] += SBizzInfo[sbEntranceCost];
ExtortionSBiz(i, SBizzInfo[sbEntranceCost]);
new dood[MAX_PLAYER_NAME];
GetPlayerName(playerid, dood, sizeof(dood));
format(string, sizeof(string), "%s je platio $%d da ude u sbiz %d", dood, SBizzInfo[sbEntranceCost], i);
printf("%s", string);
PayLog(string);
OnPropUpdate();
}
}
else
{
GameTextForPlayer(playerid, "~r~Nemate dovoljno novaca", 5000, 1);
}
}
}
if (PlayerToPoint(8.0, playerid,-2467.1780,137.1335,35.1719))//Montana Krov
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2477.3301,131.5735,64.9353);
}
else if (PlayerToPoint(8.0, playerid,-2457.4578,128.3785,35.1719))//Montana HQ
{
SetPlayerInterior(playerid,8);
SetPlayerPos(playerid,2807.6318,-1172.9641,1025.5703);
}
else if (PlayerToPoint(3.0, playerid,1381.2111,-1088.6287,27.3906))//Gradska Vijecnica
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,387.7978,173.8582,1008.3828);
}
else if (PlayerToPoint(3.0, playerid,1199.3121,-918.6199,43.1192))//Burg Enter
{
SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,363.4129,-74.5783,1001.5078);
SendClientMessage(playerid, COLOR_YELLOW, "Za menu pica i jela upisite /burgermenu .");
}
else if (PlayerToPoint(3.0, playerid,928.1453,-1353.0587,13.3438))//Cluckin` Enter
{
SetPlayerInterior(playerid,9);
SetPlayerPos(playerid,365.6730,-10.7132,1001.8516);
SendClientMessage(playerid, COLOR_YELLOW, "Za menu pica i jela upisite /cluckinmenu .");
}
else if (PlayerToPoint(3.0, playerid,2104.7620,-1806.5443,13.5547))//Pizzeria Enter
{
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid,372.3520,-131.6613,1001.4922);
SendClientMessage(playerid, COLOR_YELLOW, "Za menu pica i jela upisite /pizzamenu .");
}
else if (PlayerToPoint(3.0, playerid,1315.5411,-898.3212,39.5781))//24/7 kod burga Enter
{
SetPlayerInterior(playerid,18);
SetPlayerPos(playerid,-30.9479,-89.6127,1003.5469);
}
else if (PlayerToPoint(3.0, playerid,1833.1180,-1842.4740,13.5781))//24/7 kod kolodvora Enter
{
SetPlayerInterior(playerid,4);
SetPlayerPos(playerid,-27.4682,-29.3736,1003.5573);
}
else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
{
if (PlayerToPoint(3.0, playerid,1568.6359,-1689.9711,6.2188))//PD Oruzarnica Enter
{
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
}
}
else if (PlayerToPoint(3.0, playerid,1475.1549,-1360.6935,11.8828))//Banka Enter
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2305.6890,-16.0881,26.7496);
}
else if (PlayerToPoint(3.0, playerid,1554.7623,-1675.6167,16.1953))//LS Police Station Enter
{
SetPlayerInterior(playerid,6);
SetPlayerPos(playerid,246.783996,63.900199,1003.640625);
}
else if (PlayerToPoint(3.0, playerid,-2184.0737,646.8181,49.4375))//Cole Krov Enter
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2184.2036,658.5449,73.8359);
}
else if (PlayerToPoint(3.0, playerid,1038.1422,-1340.0281,13.7365))//Krafna Enter
{
SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,377.1800,-192.6030,1000.6328);
}
else if (PlayerToPoint(3.0, playerid,2421.4800,-1219.7570,25.5287))//Strip Club Enter
{
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,1204.809936,-11.586799,1000.921875);
}
else if (PlayerToPoint(3.0, playerid,1836.4851,-1682.4701,13.3460))//Alhambra Enter
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,-2637.4500,1404.6300,906.4609);
}
else if (PlayerToPoint(3.0, playerid,1314.2108,-1158.5641,23.8281))//Bar Enter
{
SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,493.3910,-22.7228,1000.6797);
}
else if (PlayerToPoint(3.0, playerid,286.1988,-30.2254,1001.5156))//PD Streljana Enter
{
SetPlayerInterior(playerid,7);
SetPlayerPos(playerid,302.292877,-143.139099,1004.062500);
}
else if (PlayerToPoint(3.0, playerid,300.2346,-141.7719,1004.0625))//PD Streljana broj 2 Enter
{
SetPlayerInterior(playerid,7);
SetPlayerPos(playerid,298.507934,-141.647048,1004.054748);
}
else if (PlayerToPoint(3.0, playerid,1172.6882,-1325.2832,15.4020))//Bolnica Enter
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
}
else if (PlayerToPoint(3.0, playerid,2229.6030,-1721.5503,13.5640))//GYM Enter
{
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid,772.111999,-3.898649,1000.728820);
}
else if (PlayerToPoint(3.0, playerid,1173.3436,-963.9570,42.9375))//Classic Rock Enter
{
SetPlayerInterior(playerid,11);
SetPlayerPos(playerid,501.980987,-69.150199,998.757812);
}
else if (PlayerToPoint(3.0, playerid,1204.7921,11.9087,1000.9219))//Private Room Enter
{
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,1204.809936,13.897239,1000.921875);
}
else if (PlayerToPoint(3.0, playerid,-2227.2485,-105.8840,35.3203))//Ghetto Enter
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2229.8777,-116.2453,47.2874);
}
else if (PlayerToPoint(3.0, playerid,-2448.5752,2251.1362,4.9844))//GSF krov Enter
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-2444.7986,2254.2188,14.8964);
}
else if (PlayerToPoint(3.0, playerid,-2455.5847,2254.1594,4.9806))//GSF HQ Enter
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,2496.65,-1696.55,1014.74);
}
else if (PlayerToPoint(3.0, playerid,1352.3402,-1758.5708,13.5078))//24/7 kod PD Enter
{
SetPlayerInterior(playerid,6);
SetPlayerPos(playerid,-26.691598,-55.714897,1003.546875);
}
}
return 1;
}
evo cijele komande
Neznam, ne vidim problem u skripti. I sto sam ti vec 2x rekao???
pa kad imas komandu /enter znaci imas koordinate za ulaz i izlaz pod /enter i /exit to sredi i bit ce ti normalno pazi broj interiora da stavis koji je ako su koordinate x,y,z i onda onaj ID interirora npr 1. tako mora bit na /enter a na /exit 0 i koordinate izlaza takoder x,y,z LOL!
Mislim da bi trebao procitati sve ponovo... Njemu radi exit ali ne radi enter i u oba dvojemu ima kordinate jer koristi GF.
kiki. znam ja to. i to je sve uredu. s kooridatama. citaj moj prvi post u ovoj temi. ne mogu uc kao policajac. a kao civil i lider druge organizacije, onda mogu da udjem.
drugo pitanje. da ne otvaram drugu temu. imam LARP i GTARP gamemodove, i jer netko zna zasto mi se gasi onaj crni prozorcic kad kupim kucu ili rentam auto ili bizz kupim, a nekad se to zna i samo dogodit.
probao sam. nije do komandi.
hvala.
Ako pod crnim prozorcicom mislis na server onda ga mozda nisi pokrenuo kao administrator pa nema mogucnost da pise po fajlu.
i jos jedno pitanje, da ne otvaram novu temu,
kako bi mogao napraviti ovo u 3D ?
http://i26.tinypic.com/4ufl8o.png (http://i26.tinypic.com/4ufl8o.png)
hvala
Ako mislis 3dtext, onda da. Samo daj kod da ti dam primjer.
kakav kod?
Create3DTextLabel
ja vas sad nis ne kontam. kakve kodove?
neam nikakve 3D tekstove u skripti trenutno
Pa kod od ovih textdrawowa na kucama.
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
format(string1, sizeof(string), "[SALE]\n$ %d",BizzInfo[h][bBuyPrice]);
bizsale = Create3DTextLabel(string1,0x8361FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1,15,0,1);
AddStaticPickup(1272, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
if(BizzInfo[h][bOwned] == 1)
{
/*format(string1, sizeof(string), "[OWNED BY]\n%s",BizzInfo[h][bOwner]);
Create3DTextLabel(string1,0x8361FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1,15,0,1);*/
AddStaticPickup(1239, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
}
ovako?
U cem je problem, pa vidim da si dodao nekakve labele.
nisam dodavao nista. samo sam tako kopirao.
htio bi napravit nesto kao na CH. tak. da kad se npr. dodjem do ulaza banke, da pise vlanik: drzava, reket drzava level: neki ali to sve u 3D textu
Pa kolko vidim to je vec u skripti. Pogladaj ju Create3DTextLabel.
GDJE JE PODFORUM ONI TUTORIALI. ZASTO TOGA NEMA?
Mislim da je Correli maknuo privremeno jer nesto slaze.
napravio sam dialog za PD opremu, i sad jer se moze napiraviti kada otvoris dialog i stisnes nsa izlaz, da mi server ne zatvori konekciju. hvala
Pa ako si izlaz stavio kao druga tipka onda ides ovako ispod OnDialogResponse:
if(!response)
{
if(dialogid == ID DIALOGA)
{
return 1;
}
}
da ali zelim da kad stisnem izlaz kao drugu tipku, da mi zatvori taj dialog, i da se moze nastaviti igrati. hvala
Pa to ti je to:
if(!response) provjerava dali je stisnuta druga tipka
if(dialogid == ID DIALOGA) provjerava dali je to taj dialog
napravio sam tak, pa mi je opet zatvorilo konekciju
eo ti ovako po meni najlakse a to ja koristim samo za baze napravio ovako naprimer
if(strcmp(cmd, "/enter", true) == 0)
Tvoja_Organizacija
{
if(IsPlayerConnected(playerid))
if(PlayerToPoint(1.interior obicno je 0, playerid,pozcija odakle ulazis))
{
SetPlayerInterior(playerid,interior);
SetPlayerPos(playerid,pozicija de ces se stvoriti u interioru);
SendClientMessage(playerid, TVOJA_BOJA, "Usao si u bazu napisi /exit da izadjes!");
return 1;
}else{
SendClientMessage(playerid, TVOJA_BOJA, "Nisi Blizu BAZE!!!");
}
return 1;
}
if(strcmp(cmd, "/exit", true) == 0)
Tvoja_Organizacija
{
if(IsPlayerConnected(playerid))
if(PlayerToPoint(1.interior, playerid,pozicija(interiora)))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,Pozicija(x,y,z));
SendClientMessage(playerid, TVOJA_BOJA, "Izasao si iz baze.");
return 1;
}else{
SendClientMessage(playerid, TVOJA_BOJA, "Nisi Blizu izlaza iz baze!!!");
}
return 1;
}
Citat: [AdmTeam]_jovan poslato Jul 30, 2010, 09:57:08 PRE PODNE
eo ti ovako po meni najlakse a to ja koristim samo za baze napravio ovako naprimer
if(strcmp(cmd, "/enter", true) == 0)
Tvoja_Organizacija
{
if(IsPlayerConnected(playerid))
if(PlayerToPoint(1.interior obicno je 0, playerid,pozcija odakle ulazis))
{
SetPlayerInterior(playerid,interior);
SetPlayerPos(playerid,pozicija de ces se stvoriti u interioru);
SendClientMessage(playerid, TVOJA_BOJA, "Usao si u bazu napisi /exit da izadjes!");
return 1;
}else{
SendClientMessage(playerid, TVOJA_BOJA, "Nisi Blizu BAZE!!!");
}
return 1;
}
if(strcmp(cmd, "/exit", true) == 0)
Tvoja_Organizacija
{
if(IsPlayerConnected(playerid))
if(PlayerToPoint(1.interior, playerid,pozicija(interiora)))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,Pozicija(x,y,z));
SendClientMessage(playerid, TVOJA_BOJA, "Izasao si iz baze.");
return 1;
}else{
SendClientMessage(playerid, TVOJA_BOJA, "Nisi Blizu izlaza iz baze!!!");
}
return 1;
}
ovaj dio TVOJA_ORGANIZACIJA....jel tu stavim ono
if(PlayerInfo[k][pMember] == id org || PlayerInfo[k][pLeader] == id org)
??? jel tako ili ??