Započeo Maad
•23. Mar. 2013.• Zaključano[HELP]
250
pregleda
5
postova
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
171
Postovi:
20
Teme:
Pridružio se:Sep. 2012
23. Mar. 2013.
Skripta koju koristim:nbe
Detaljan opis problema: Ima bug npr nemoze helper da se porta do igraca pise da Ne moze da se porta do OSCa jaceg od vas .. Pa sam ja to brisao i nmg sada da compile stopped working a to je zato sto sam negde omasio { } pa ako neko ima strpljenja da pogleda i da resim to 😄
Dio skripte:
Nisam citavu komandu copy vec ono u sta sam ubedjen da pravi problem 🙂 .. Ako bude bilo potrebno stavice se.
Detaljan opis problema: Ima bug npr nemoze helper da se porta do igraca pise da Ne moze da se porta do OSCa jaceg od vas .. Pa sam ja to brisao i nmg sada da compile stopped working a to je zato sto sam negde omasio { } pa ako neko ima strpljenja da pogleda i da resim to 😄
Dio skripte:
}
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");
}
}
return 1;
}Nisam citavu komandu copy vec ono u sta sam ubedjen da pravi problem 🙂 .. Ako bude bilo potrebno stavice se.
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
171
Postovi:
20
Teme:
Pridružio se:Sep. 2012
23. Mar. 2013.
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");
}
}
return 1;
}Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
290
Postovi:
16
Teme:
Pridružio se:Okt. 2012
23. Mar. 2013.
Izvoli
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");
}
}
}
return 1;
}
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava