Započeo Rbr97
•1. Jun 2014.• Zaključano[Pomoc] Auto za odreÄ‘enu organizaciju
503
pregleda
12
postova
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
123
Postovi:
37
Teme:
Pridružio se:Apr. 2014
1. Jun 2014.
Skripta koju koristim:Moj gm od 0
Detaljan opis problema:Napravio sam da samo organizacija moze vozit odredene aute i sad nemoze civil opce sjest u auto,pise da nisi clan kao,Znaci hocu samo da na mjesto vozaca mora biti odrenena organizacija,ako me kontate
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Detaljan opis problema:Napravio sam da samo organizacija moze vozit odredene aute i sad nemoze civil opce sjest u auto,pise da nisi clan kao,Znaci hocu samo da na mjesto vozaca mora biti odrenena organizacija,ako me kontate
Dio skripte:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
//_______________________________________________________PoliceDepartment Vozila
if(vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila)
{
if(PlayerInfo == 1 || PlayerInfo == 1){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Police Department' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}Neke slike/video za lakse dobivanje pomoci(neobavezno):
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
1. Jun 2014.
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
//_______________________________________________________PoliceDepartment Vozila
if(vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) { return true };
if(PlayerInfo == 1 || PlayerInfo == 1) { return true };
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Police Department' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
}OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
1. Jun 2014.
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
//_______________________________________________________PoliceDepartment Vozila
if(vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true ;
if(PlayerInfo == 1 || PlayerInfo == 1) { }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Police Department' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
}moja greska...
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
1. Jun 2014.
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true;
if(PlayerInfo == 1 || PlayerInfo == 1) return true;
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Police Department' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
return true;
}sad ako ti baci error znaj nije do ovog koda..
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
123
Postovi:
37
Teme:
Pridružio se:Apr. 2014
1. Jun 2014.
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
//_______________________________________________________PoliceDepartment Vozila
if(vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila)
{
if(PlayerInfo == 1 || PlayerInfo == 1){ }
else
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true;
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Police Department' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila)
{
if(PlayerInfo == 1 || PlayerInfo == 1){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Police Department' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//___________________________________________________________Grove Street Vozila
if(vehicleid == GroveVozila || vehicleid == GroveVozila || vehicleid == GroveVozila)
{
if(PlayerInfo == 2 || PlayerInfo == 2 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Grove Street' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == GroveVozila || vehicleid == SSLVozila || vehicleid == GroveVozila || vehicleid == GroveVozila || vehicleid == GroveVozila || vehicleid == GroveVozila)
{
if(PlayerInfo == 2 || PlayerInfo == 2 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Grove Street' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_________________________________________________________________Ballas Vozila
if(vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila)
{
if(PlayerInfo == 3 || PlayerInfo == 3 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Ballas Gang' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila)
{
if(PlayerInfo == 3 || PlayerInfo == 3 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Ballas Gang' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//______________________________________________________SouthSide Locotes Vozila
if(vehicleid == SSLVozila || vehicleid == SSLVozila || vehicleid == SSLVozila || vehicleid == SSLVozila || vehicleid == SSLVozila)
{
if(PlayerInfo == 4 || PlayerInfo == 4 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'SouthSide Locotes' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == SSLVozila || vehicleid == SSLVozila || vehicleid == SSLVozila || vehicleid == SSLVozila || vehicleid == SSLVozila)
{
if(PlayerInfo == 4 || PlayerInfo == 4 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'SouthSide Locotes' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//____________________________________________________________TheBlueEyes Vozila
if(vehicleid == TBEVozila || vehicleid == TBEVozila || vehicleid == TBEVozila)
{
if(PlayerInfo == 5 || PlayerInfo == 5 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'The Blue Eyes' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == TBEVozila || vehicleid == TBEVozila || vehicleid == TBEVozila || vehicleid == TBEVozila || vehicleid == TBEVozila)
{
if(PlayerInfo == 5 || PlayerInfo == 5 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'The Blue Eyes' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//___________________________________________________________LaCosaNostra Vozila
if(vehicleid == LCNVozila || vehicleid == LCNVozila || vehicleid == LCNVozila || vehicleid == LCNVozila || vehicleid == LCNVozila || vehicleid == LCNVozila)
{
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'La Cosa Nostra' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == LCNVozila || vehicleid == LCNVozila || vehicleid == LCNVozila || vehicleid == LCNVozila || vehicleid == LCNVozila || vehicleid == LCNVozila)
{
if(PlayerInfo == 6 || PlayerInfo == 6 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'La Cosa Nostra' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_________________________________________________________________Hitman Vozila
if(vehicleid == HitmanVozila || vehicleid == HitmanVozila || vehicleid == HitmanVozila)
{
if(PlayerInfo == 7 || PlayerInfo == 7 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Hitman Agency' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == HitmanVozila || vehicleid == HitmanVozila || vehicleid == HitmanVozila || vehicleid == HitmanVozila || vehicleid == HitmanVozila)
{
if(PlayerInfo == 7 || PlayerInfo == 7 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Hitman Agency' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_________________________________________________________________Grobar Vozila
if(vehicleid == GROBARVozila || vehicleid == GROBARVozila)
{
if(PlayerInfo == 1 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Grobar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == GROBARVozila || vehicleid == GROBARVozila || vehicleid == GROBARVozila)
{
if(PlayerInfo == 1 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Grobar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_________________________________________________________________Postar Vozila
if(vehicleid == POSTARVozila || vehicleid == POSTARVozila)
{
if(PlayerInfo == 2 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Postar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == POSTARVozila || vehicleid == POSTARVozila || vehicleid == POSTARVozila)
{
if(PlayerInfo == 2 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Postar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//___________________________________________________________Elektronicar Vozila
if(vehicleid == ELEKTRONICARVozila || vehicleid == ELEKTRONICARVozila || vehicleid == ELEKTRONICARVozila)
{
if(PlayerInfo == 3 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Elektronicar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == ELEKTRONICARVozila || vehicleid == ELEKTRONICARVozila || vehicleid == ELEKTRONICARVozila)
{
if(PlayerInfo == 3 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Elektronicar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_________________________________________________________________Smecar Vozila
if(vehicleid == SMECARVozila || vehicleid == SMECARVozila || vehicleid == SMECARVozila)
{
if(PlayerInfo == 4 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Smecar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == SMECARVozila || vehicleid == SMECARVozila || vehicleid == SMECARVozila)
{
if(PlayerInfo == 4 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Smecar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_____________________________________________________________Dostavljac Vozila
if(vehicleid == DOSTAVLJACVozila || vehicleid == DOSTAVLJACVozila || vehicleid == DOSTAVLJACVozila || vehicleid == DOSTAVLJACVozila)
{
if(PlayerInfo == 5 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Dostavljac'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == DOSTAVLJACVozila || vehicleid == DOSTAVLJACVozila || vehicleid == DOSTAVLJACVozila || vehicleid == DOSTAVLJACVozila || vehicleid == DOSTAVLJACVozila || vehicleid == DOSTAVLJACVozila)
{
if(PlayerInfo == 5 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Dostavljac '");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_____________________________________________________________Vozac Busa Vozila
if(vehicleid == BUSVozila || vehicleid == BUSVozila || vehicleid == BUSVozila)
{
if(PlayerInfo == 6 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Vozac Busa'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == BUSVozila || vehicleid == BUSVozila || vehicleid == BUSVozila || vehicleid == BUSVozila || vehicleid == BUSVozila)
{
if(PlayerInfo == 6 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Vozac Busa'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_______________________________________________________________Zastitar Vozila
if(vehicleid == ZASTITARVozila || vehicleid == ZASTITARVozila || vehicleid == ZASTITARVozila)
{
if(PlayerInfo == 7 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Zastitar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == ZASTITARVozila || vehicleid == ZASTITARVozila || vehicleid == ZASTITARVozila || vehicleid == ZASTITARVozila)
{
if(PlayerInfo == 7 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Zastitar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//________________________________________________________________Taksist Vozila
if(vehicleid == TAXIVozila || vehicleid == TAXIVozila || vehicleid == TAXIVozila)
{
if(PlayerInfo == 8 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Taksist'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == TAXIVozila || vehicleid == TAXIVozila || vehicleid == TAXIVozila || vehicleid == TAXIVozila || vehicleid == TAXIVozila)
{
if(PlayerInfo == 8 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Taksist'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//________________________________________________________________Pilot Vozila
if(vehicleid == PILOTVozila || vehicleid == PILOTVozila)
{
if(PlayerInfo == 9 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Pilot'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == PILOTVozila || vehicleid == PILOTVozila || vehicleid == PILOTVozila)
{
if(PlayerInfo == 9 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Pilot'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
//_______________________________________________________________Bolnicar Vozila
if(vehicleid == BOLNICARVozila || vehicleid == BOLNICARVozila || vehicleid == BOLNICARVozila)
{
if(PlayerInfo == 10 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Bolnicar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
if(vehicleid == BOLNICARVozila || vehicleid == BOLNICARVozila || vehicleid == BOLNICARVozila || vehicleid == BOLNICARVozila)
{
if(PlayerInfo == 10 || PlayerInfo >= 4){ }
else
{
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste zaposleni kao 'Bolnicar'");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
return 1;
}OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
23 / 250 XP
Početnik(2)
3,748
Postovi:
73
Teme:
Pridružio se:Jan. 2012
1. Jun 2014.
radi na ovaj princip nedami se sve ti dodaj ostale provere
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid = GetPlayerVehicleID(playerid);
//_______________________________________________________PoliceDepartment Vozila
if(vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true;
if(PlayerInfo == 1 || PlayerInfo == 1) return true;
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Police Department' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
if(vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila || vehicleid == PDVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true;
if(PlayerInfo == 1 || PlayerInfo == 1) return true;
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Police Department' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
//___________________________________________________________Grove Street Vozila
if(vehicleid == GroveVozila || vehicleid == GroveVozila || vehicleid == GroveVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true;
if(PlayerInfo == 2 || PlayerInfo == 2) return true;
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Grove Street' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
if(vehicleid == GroveVozila || vehicleid == SSLVozila || vehicleid == GroveVozila || vehicleid == GroveVozila || vehicleid == GroveVozila || vehicleid == GroveVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true;
if(PlayerInfo == 2 || PlayerInfo == 2) return true;
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Grove Street' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
//_________________________________________________________________Ballas Vozila
if(vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true;
if(PlayerInfo == 3 || PlayerInfo == 3) return true;
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Ballas Gang' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
if(vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila || vehicleid == BallasVozila)
{
if(GetPlayerVehicleSeat(playerid) != 0 ) return true;
if(PlayerInfo == 3 || PlayerInfo == 3) return true;
SCM(playerid, SVIJETLOPLAVA, "{FF0000} Niste clan 'Ballas Gang' organizacije!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
return 1;
}Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava