Započeo [BM]Aleksa_Smiljanic
•26. Nov. 2012.• Zaključano[Pomoc] BUL Skripta previse errora
657
pregleda
11
postova
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
170
Postovi:
51
Teme:
Pridružio se:Maj 2011
26. Nov. 2012.
Skripta koju koristim:BUL 20% editovan
Detaljan opis problema: menjo sam nesto oko pawna i sad mi izbacuje errore i mucim muku kako da popravim skripter otiso negde u goste valjda odkud znam i sad snadji se
Dio skripte:po potrebi
Neke slike/video za lakse dobivanje pomoci(neobavezno):

Detaljan opis problema: menjo sam nesto oko pawna i sad mi izbacuje errore i mucim muku kako da popravim skripter otiso negde u goste valjda odkud znam i sad snadji se
Dio skripte:po potrebi
Neke slike/video za lakse dobivanje pomoci(neobavezno):

Underboss
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
518
Postovi:
50
Teme:
Pridružio se:Jun 2012
26. Nov. 2012.
Stavi u code sve sto ti izbacuje ne vidi se sve sto pise za error ne mozemo ti tako pomoci..
Crime Lord
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
926
Postovi:
185
Teme:
Pridružio se:Okt. 2012
26. Nov. 2012.
odnosno fali ti negdje otvorena ili zatvorena zagrada zadnje sto si ubacivao sa zagrada prebroji zatvorene ili otvorene moras ih imat jednak broj
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
170
Postovi:
51
Teme:
Pridružio se:Maj 2011
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
170
Postovi:
51
Teme:
Pridružio se:Maj 2011
26. Nov. 2012.
evo vam skripta od 2629 pa do 3065
Ko ima zivce nek broji redove ko nema nek kaze 😄
ResetujOruzije(i); 2629 red
SafeGivePlayerWeapon(i, 29, 999);
TogglePlayerControllable(i, 1);
SendClientMessage(i, BLCRVENA, "Paintball Mech je poceo, ostalo je jos 4 minuta.");
PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
}
}
SetTimer("PaintballEnded", 240000, 0);
return 1;
}
public PaintballEnded()
{
new string;
new name;
foreach (Player, i)
{
if(PlayerPaintballing != 0)
{
if(IsPlayerConnected(PaintballWinner))
{
GetPlayerName(PaintballWinner, name, sizeof(name));
format(string,sizeof(string), "** %s je osvojio mech sa %d ubistava **",name,PaintballWinnerKills);
SendClientMessage(i, COLOR_WHITE, string);
}
ResetujOruzije(i);
PlayerPaintballing = 0;
SetPlayerPos(i, SBizzInfo,SBizzInfo,SBizzInfo);
}
}
AnnouncedPaintballRound = 0;
PaintballRound = 0;
return 1;
}
public PrepareKarting()
{
foreach (Player, i)
{
if(PlayerKarting != 0 && PlayerInKart != 0)
{
CP = 9;
SetPlayerCheckpoint(i,2308.3540,-2354.0039,12.6842,8.0);
SendClientMessage(i, BLCRVENA, "Kart Race will start in 20 seconds, go to the starting line.");
}
}
SetTimer("StartKarting", 20000, 0);
return 1;
}
public StartKarting()
{
KartingRound = 1;
StartingKartRound = 0;
EndingKartRound = 0;
FirstKartWinner = 999;
SecondKartWinner = 999;
ThirdKartWinner = 999;
foreach (Player, i)
{
if(PlayerKarting != 0 && PlayerInKart != 0)
{
CP = 10;
SendClientMessage(i, BLCRVENA, "Green light, go go go !");
PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
SetPlayerCheckpoint(i,2308.3540,-2354.0039,12.6842,8.0);
}
}
SetTimer("KartingEnded", 240000, 0);
return 1;
}
public KartingEnded()
{
foreach (Player, i)
{
if(PlayerKarting != 0 && PlayerInKart != 0)
{
CP = 0;
DisablePlayerCheckpoint(i);
}
}
AnnouncedKartRound = 0;
KartingRound = 0;
return 1;
}
public DollahScoreUpdate()
{
new LevScore;
foreach (Player, i)
{
LevScore = PlayerInfo;
SetPlayerScore(i, LevScore);
}
return 1;
}
public Encrypt(string[])
{
for(new x=0; x < strlen(string); x++)
{
string += (3^x) * (x % 15);
if(string > (0xff))
{
string -= 256;
}
}
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnVehicleSpawn(vehicleid)
{
for(new i = 1; i < sizeof(Vozila); i++)
{
if(Vozila == vehicleid)
{
ChangeVehicleColor(vehicleid, Vozila, Vozila);
SetVehiclePos(Vozila, Vozila, Vozila,Vozila);
SetVehicleZAngle(Vozila, Vozila);
}
}
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Float:X, Float: Y, Float: Z;
GetPlayerPos(playerid, X, Y , Z);
for(new i = 1; i < sizeof(Vozila); i++)
{
if(Vozila == vehicleid)
{
if(Vozila == 1)
{
new string;
format(string, sizeof(string), "~g~~n~VLASNIK:~w~ %s",Vozila);
GameTextForPlayer(playerid,string,2000,4);
if(Vozila != 0)
{
SetPlayerPos(playerid,X,Y,Z);
}
}
}
}
if( vehicleid == IzlozbenoVozilo)
{
SetPlayerPos(playerid,X,Y,Z);
GameTextForPlayer(playerid,"Nemozete uci u izlozbeno~n~ vozilo...",2000,5);
}
if(gTeam >= 1||gTeam >= 3||gTeam >= 4)
{
if (IsACopCar(vehicleid) && !ispassenger)
{
if(PlayerInfo==1||PlayerInfo==2||PlayerInfo==3||PlayerInfo==11||PlayerInfo==1||PlayerInfo==2||PlayerInfo==3||PlayerInfo==11) {}
else {
//WantedPoints+=2;
//SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}
if (IsNgCar(vehicleid) && !ispassenger)
{
if(PlayerInfo==1||PlayerInfo==2||PlayerInfo==3||PlayerInfo==1||PlayerInfo==2||PlayerInfo==3) {}
else {
//WantedPoints+=2;
//SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}
if (IsNpcVehicle(vehicleid) && !ispassenger)
{
if(PlayerInfo==100) {}
else {
//WantedPoints+=2;
//SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}
if (IsAnAmbulance(vehicleid) && !ispassenger)
{
if(PlayerInfo==4||PlayerInfo==4) { }
else { WantedPoints+=2; SetPlayerCriminal(playerid,255, "Kradja vozila hitne pomoci"); }
}
if (IsATank(vehicleid) && !ispassenger)
{
if(PlayerInfo==1||PlayerInfo==3||PlayerInfo==3) {}
else { WantedPoints+=2; SetPlayerCriminal(playerid,255, "Kradja Tenka"); SendClientMessage(playerid, COLOR_YELLOW,"You don't know how to drive it yet."); }
}
if(IsAnOwnableCar(vehicleid) && CarInfo == 1 && CarInfo == 1)
{
if(PlayerInfo >= 1337 && AdminDuty == 1) { }
else
{
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}
}
return 1;
}
/*public IsAnInstructor(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo;
new member = PlayerInfo;
if(member==11)
{
return 1;
}
if(leader==11)
{
return 1;
}
}
return 0;
}*/
public IsAMember(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo;
new member = PlayerInfo;
if(member==5 || member==6 || member==8 || member==12 || member==14 || member==15 || member==16)
{
return 1;
}
if(leader==5 || leader==6 || leader==8 || leader==12 || leader==14 || leader==15 || leader==16)
{
return 1;
}
}
return 0;
}
public IsACop(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo;
new member = PlayerInfo;
if(member==1 || member==2 || member==3 || member==11)
{
return 1;
}
else if(leader==1 || leader==2 || leader==3 || leader==11)
{
return 1;
}
}
return 0;
}
public IsAGang(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo;
new member = PlayerInfo;
if(member==5 || member==6 || member==8 || member==12 || member==15 || member==16)
{
return 1;
}
else if(leader==5 || leader==6 || leader==8 || leader==12 || leader==15 || leader==16)
{
return 1;
}
}
return 0;
}
public IsAPDMember(playerid)
{
if(IsPlayerConnected(playerid))
{
new leader = PlayerInfo;
new member = PlayerInfo;
if(member==1 || member==11)
{
return 1;
}
else if(leader==1 || leader==11)
{
return 1;
}
}
return 0;
}
public IsAnOwnableCar(vehicleid)
{
if(vehicleid >= 230 && vehicleid <= 550) { return 1; }
return 0;
}
public IsAtDealership(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(30.0,playerid,1081.2784,-1751.6011,13.4388) || PlayerToPoint(25.0,playerid,2128.0864,-1135.3912,25.5855) || PlayerToPoint(50,playerid,537.3366,-1293.2140,17.2422) || PlayerToPoint(35,playerid,2521.5544,-1524.4504,23.8365) || PlayerToPoint(50,playerid,2155.0146,-1177.3333,23.8211) || PlayerToPoint(50,playerid,299.1723,-1518.6627,24.6007) || PlayerToPoint(100,playerid,142.5537109375, -2002.1171875, 0.84999966621399) || PlayerToPoint(50,playerid,1048.8964,-904.7892,42.4164))
{
return 1;
}
else if(PlayerToPoint(5,playerid,1524.5046386719,-2459.6262207031,12.5546875) || PlayerToPoint(5,playerid,1606.0760498047,-2458.5505371094,12.5546855) || PlayerToPoint(5,playerid,1686.1015625000,-2458.8513183594,12.5546855) || PlayerToPoint(5,playerid,1765.3842773438,-2459.8420410156,12.5546875) || PlayerToPoint(5,playerid,1645.9104003906,-2458.6958007813,12.5546875) || PlayerToPoint(5,playerid,1727.7492675781,-2459.1301269531,12.5546875))
{
return 1;
}
}
return 0;
}
public IsAtCarrental(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(30.0,playerid,1696.5543,-1053.4685,23.9063))
{
return 1;
}
}
return 0;
}
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(25.0,playerid,20.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
{//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
public IsAtGasStation(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
{//SF
return 1;
}
else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
{//Between LS and SF
return 1;
}
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,656.4265,-559.8610,16.5015) || PlayerToPoint(6.0,playerid,656.3797,-570.4138,16.5015))
{//Dillimore
return 1;
}
else if(PlayerToPoint(8.0,playerid,125.2434463501, -1935.9764404297, 2.6310691833496) || PlayerToPoint(8.0,playerid,133.91174316406, -1941.7890625, 2.6310691833496))
{//Pumpa za Helice
return 1;
}
else if(PlayerToPoint(8.0,playerid,1004.1514892578, -936.96557617188, 47.211837768555))
{//Pumpa za Helice
return 1;
}
}
return 0;
}
public IsAtFishPlace(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359))
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359))
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359))
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359))
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359))
{//Fishplace at the bigwheel
return 1;
}
}
return 0;
}
public IsAtCookPlace(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589))
{//Cluckin Bell
return 1;
}
else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078))
{//Burgershot
return 1;
}
else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922)) 3065 redKo ima zivce nek broji redove ko nema nek kaze 😄
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
170
Postovi:
51
Teme:
Pridružio se:Maj 2011
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
170
Postovi:
51
Teme:
Pridružio se:Maj 2011
Street Runner
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
15
Postovi:
7
Teme:
Pridružio se:Nov. 2012
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava







