Mod koji koristim: moj edit
Problem: Kada npr ukucam /gotoab pise mi samo teleportovani ste a ne porta mi se
[Pomoc] Oko portanja
549
pregleda
20
postova
20. Apr. 2013.
Evo
Druga
if(strcmp(cmd, "/goto", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "KORISCENJE: /goto [playerid/Deo imena]");
return 1;
}
new Float:plocx,Float:plocy,Float:plocz;
new plo;
plo = ReturnUser(tmp);
//if(GetPVarInt(plo,"ESCTajmer") == 1) return SCM(playerid, COLOR_GREY, "Igrac je AFK !");
if(PlayerInfo > PlayerInfo)
{
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(WantedPoints <= 1 || WantedLevel <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if (IsPlayerConnected(plo))
{
if(plo != INVALID_PLAYER_ID)
{
if (PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if(Spectate != 255)
{
Spectate = 256;
}
GetPlayerPos(plo, plocx, plocy, plocz);
if(PlayerInfo > 0)
{
SetPlayerInterior(playerid,PlayerInfo);
PlayerInfo = PlayerInfo;
PlayerInfo = PlayerInfo;
}
if(PlayerInfo == 0)
{
SetPlayerInterior(playerid,0);
}
if(plocz > 530.0 && PlayerInfo == 0) //the highest land point in sa = 526.8
{
SetPlayerInterior(playerid,1);
PlayerInfo = 1;
}
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, plocx, plocy+4, plocz);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid,plocx,plocy+2, plocz);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste");
new sendgoto;
GetPlayerName(playerid, sendgoto, sizeof(sendgoto));
new gotostr;
format(gotostr,sizeof(gotostr), "* PORT: %s se teleportovao do tebe !", sendgoto);
SCM(plo, BELA, gotostr);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+1) !");
}
}
}
else
{
format(string, sizeof(string), " %d nije aktivan igrac.", plo);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer imate wanted");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Niste OSC,HELPER,VIP,MAPPER,PROMOTER !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati do igraca koji ima wanted");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati do OSCa koji je jaci od vas");
}
}
return 1;
}Druga
if(strcmp(cmd, "/gotob", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
SetVehiclePos(tmpcar, -2337.6729,-1627.6851,483.7043);
TelePos = 0.0;TelePos = 0.0;
}
else
{
SetPlayerPos(playerid, -2337.6729,-1627.6851,483.7043);
}
SendClientMessage(playerid, COLOR_GREY, " Teleportovani ste!");
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi OSC!");
}
}
return 1;
}if(!strcmp(cmdtext, "/gotohospital", true)) // By Ellis
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo > 1)
{
JBC_SetPlayerPos(playerid, 1162.6995,-1325.5714,7.5826);
GameTextForPlayer(playerid, "~w~Klinicki centar",5000,1);
SetPlayerInterior(playerid,6);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo = 6;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Nisi ovlascen da koristis ovu komandu.");
return 1;
}
}
return 1;
}20. Apr. 2013.
Evo drugi deo
if(strcmp(cmd, "/gotoab", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 852.8177,-1437.0881,15.0437);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 852.8177,-1437.0881,15.0437);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 00000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}if(strcmp(cmd, "/gotosarbanka", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1137.1245,-1630.7767,13.8774);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1137.1245,-1630.7767,13.8774);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotoopticar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 2069.3113,-1773.7755,13.5595);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 2069.3113,-1773.7755,13.5595);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
20. Apr. 2013.
3 deo
if(strcmp(cmd, "/gotoyamaguchi", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 2804.1106,-1576.8324,10.9273);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 2804.1106,-1576.8324,10.9273);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotoms13", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 2603.7239,-1109.1852,68.1530);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 2603.7239,-1109.1852,68.1530);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}if(strcmp(cmd, "/gotoballas", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 2503.9026,-1515.2784,23.9851);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 2503.9026,-1515.2784,23.9851);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3)!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}if(strcmp(cmd, "/gotopozoriste", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1547.1238,-1270.2732,17.4063);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1547.1238,-1270.2732,17.4063);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
20. Apr. 2013.
4 deo
if(strcmp(cmd, "/gotohitman", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1070.8419,-312.0279,73.9922);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1070.8419,-312.0279,73.9922);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
} if(strcmp(cmd, "/gotobg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}if(strcmp(cmd, "/gotoburek", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1149.8170,-895.5488,42.7454);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1149.8170,-895.5488,42.7454);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotoct", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, -576.2998,-505.3881,25.5234);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, -576.2998,-505.3881,25.5234);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotobanka", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 4 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1461.4910,-1027.5134,23.8281);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1461.4910,-1027.5134,23.8281);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+4) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
20. Apr. 2013.
5 deo
if(strcmp(cmd, "/gotoczd", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 557.3751,-1254.2323,17.0988);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 557.3751,-1254.2323,17.0988);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}if(strcmp(cmd, "/gotoavalski", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1092.9573,-799.3872,107.4177);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1092.9573,-799.3872,107.4177);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}if(strcmp(cmd, "/gotoafk", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1463.7521,-1584.2504,13.5469);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1463.7521,-1584.2504,13.5469);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotoopstina", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1481.3710,-1742.0710,13.5469);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1481.3710,-1742.0710,13.5469);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotospawn", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1569.3431,-2332.3132,13.5385);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1569.3431,-2332.3132,13.5385);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotosurenos", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 1826.5084,-1995.4316,13.5469);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 1826.5084,-1995.4316,13.5469);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
20. Apr. 2013.
6 deo
if(strcmp(cmd, "/gotogroove", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if(PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 2457.3955,-1658.7760,13.3047);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 2457.3955,-1658.7760,13.3047);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste !");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotosa", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if (PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, 2331.5974,2352.4001,10.8203);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, 2331.5974,2352.4001,10.8203);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC+1,HELPER+1,MP+1,VIP+3) !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/gotozg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(BankaWL >= 1) return SCM(playerid, SIVA, " Ne mozete se portati , imate wl !");
if(PlayerCuffed >= 1) return SCM(playerid, COLOR_GREY, "Zavezani ste, ne mozete to!"); if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, " Na robiji ste , ne mozete to !");
if(PlayerInfo >= 1) return SCM(playerid, COLOR_GREY, "Sokirani ste, ne mozete to!");
if(GotoTime == 1) return SCM(playerid, COLOR_GREY, "Vec ste iskoristili tu komandu , sacekajte malo !");
if(PlayerInfo == 28) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda");
if(PlayerInfo == 25) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao dostavljaca");
if(PlayerInfo == 27) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda gaddafi paketa");
if(PlayerInfo == 26) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda lekova");
if(PlayerInfo == 7) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao mehanicar");
if(PlayerInfo == 14) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao vozac autobusa");
if(PlayerInfo == 16) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao prodavca sladoleda produkata");
if(PlayerInfo == 17) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao raznosaca pice");
if(PlayerInfo == 21) return SCM(playerid,COLOR_GREY,"Ne mozete se portati jer radite posao cistaca ulica");
if(PlayerInfo != 25 || PlayerInfo != 26 || PlayerInfo != 17 || PlayerInfo != 16 || PlayerInfo != 14 || PlayerInfo != 7)
{
if(kavezport == 0)
{
if(PlayerInfo <= 1 || PlayerInfo <= 1)
{
if(vandrednostanje == 0)
{
if(WantedPoints <= 1 || WantedLevel <= 1 || BankaWL <= 1)
{
if (PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 1 || PlayerInfo >= 3 || PlayerInfo >= 1)
{
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, -2726.8779,368.5763,4.3954);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, -2726.8779,368.5763,4.3954);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste");
GotoTime = 1;
SetTimerEx("GotoTimer", 30000, false, "i", playerid);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu (OSC1+,MP+1,HP+1,VIP+1)!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati ,jer imate WL.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer je u toku pljacka [ VANDREDNO STANJE ].");
SendClientMessage(playerid, COLOR_GREY, " Sacekajte da prodje.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u zatvoru");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer ste u kavezu.");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Ne mozete se portati jer radite poslove za koje ne sme port");
}
}
return 1;
}
if(strcmp(cmd, "/entercar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "KORISCENJE: /entercar ");
return 1;
}
new testcar = strval(tmp);
if (PlayerInfo >= 3 || PlayerInfo >= 4 || PlayerInfo >= 1)
{
JBC_PutPlayerInVehicle(playerid, testcar, 1);
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu!");
}
}
return 1;
}
if(strcmp(cmd, "/gotocar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "KORISCENJE: /gotocar ");
return 1;
}
new testcar = strval(tmp);
if (PlayerInfo >= 3 || PlayerInfo >= 1)
{
new Float:cwx2,Float:cwy2,Float:cwz2;
GetVehiclePos(testcar, cwx2, cwy2, cwz2);
if (GetPlayerState(playerid) == 2)
{
new tmpcar = GetPlayerVehicleID(playerid);
JBC_SetVehiclePos(tmpcar, cwx2, cwy2, cwz2);
TelePos = 0.0;TelePos = 0.0;
}
else
{
JBC_SetPlayerPos(playerid, cwx2, cwy2, cwz2);
}
SendClientMessage(playerid, COLOR_GRAD1, " Teleportovani ste");
SetPlayerInterior(playerid,0);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Nisi ovlascen da koristis ovu komandu!");
}
}
return 1;
}Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava