Errori!

Započeo Amar Corleone
7. Mar. 2018.
467
pregleda
4
postova
Amar Corleone
3
Wheel Man
7. Mar. 2018.
Problem (error/warning): Kako da resim ovaj error dodje mi sam ne znam sta je ?
Dio skripte:
Pawno Code:
C:\Users\Merda\Desktop\Bosnian Gaming RolePlay\ZADNJA VERZIJA\BG-RP.pwn(39464) : warning 209: function "S@@_OnPlayerEnterVehicle" should return a value
C:\Users\Merda\Desktop\Bosnian Gaming RolePlay\ZADNJA VERZIJA\BG-RP.pwn(39465) : error 010: invalid function or declaration
C:\Users\Merda\Desktop\Bosnian Gaming RolePlay\ZADNJA VERZIJA\BG-RP.pwn(60695) : error 001: expected token: ",", but found ";"
C:\Users\Merda\Desktop\Bosnian Gaming RolePlay\ZADNJA VERZIJA\BG-RP.pwn(64830) : warning 203: symbol is never used: "IsKeyJustDown"
C:\Users\Merda\Desktop\Bosnian Gaming RolePlay\ZADNJA VERZIJA\BG-RP.pwn(23125) : warning 204: symbol is assigned a value that is never used: "proveramvrata"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

2 Errors.
Evo linije:
Msm cjelo
///////////////////////////////////////////////////////////////////////////
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new Float😛oz; GetPlayerPos(playerid, Poz, Poz, Poz);
    //if(!ispassenger)
{
for(new i; i < sizeof(VoziloInfo); i++)
{
    if(VoziloInfo == vehicleid)
    {
        if(VoziloInfo == 1)
{
    if(PI == i || PI == i || VoziloInfo == 0 || PI >= 7)
          if(PI == 5) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u vozilo ID: %d!",i);
          if(PI >= 6) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u vozilo ID: %d!",i);
          if(PI == 😎 SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u vozilo ID: %d!",i);
new string;
format(string,sizeof(string), ""LLJUBA"(BG:RP): "BELA"Vlasnik vozila je: %s.", VoziloInfo);
    SCM(playerid,-1,string);
return 1;
}
else
{
new string; SetPlayerPos(playerid, Poz, Poz, Poz);
      format(string,sizeof(string), ""LLJUBA"(BG:RP): "BELA"Vozilo je zakljucano. Vlasnik: %s.", VoziloInfo);
    SCM(playerid,-1,string);
    return 1;
}
}
}
}
for(new i; i < sizeof(MotorInfo); i++)
{
    if(MotorInfo == vehicleid)
    {
        if(MotorInfo == 1)
{
    if(PI == i || MotorInfo == 0 || PI == 6 || PI == 5 || PI == 7 || PI == 😎
      {
          if(PI == 5) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u motor ID: %d!",i);
                        if(PI >= 6) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u motor ID: %d!",i);
                        if(PI == 😎 SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u motor ID: %d!",i);
new string;
format(string,sizeof(string), ""LLJUBA"(BG:RP): "BELA"Vlasnik vozila je: %s.", MotorInfo);
    SCM(playerid,-1,string);
return 1;
}
else
{
new string; SetPlayerPos(playerid, Poz, Poz, Poz);
      format(string,sizeof(string), ""LLJUBA"(BG:RP): "BELA"Vozilo je zakljucano. Vlasnik: %s.", MotorInfo);
    SCM(playerid,-1,string);
    return 1;
}
}
}
}
for(new i; i < sizeof(BiciklaInfo); i++)
{
    if(BiciklaInfo == vehicleid)
    {
        if(BiciklaInfo == 1)
{
    if(PI == i || BiciklaInfo == 0 || PI == 6 || PI == 5 || PI == 7 || PI == 😎
      {
          if(PI == 😎 SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u biciklo ID: %d!",i);
          if(PI >= 6) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u biciklo ID: %d!",i);
                        if(PI == 5) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u biciklo ID: %d!",i);
return 1;
}
else
{
new string; SetPlayerPos(playerid, Poz, Poz, Poz);
      format(string,sizeof(string), ""LLJUBA"(BG:RP): "BELA"Vozilo je zakljucano. Vlasnik: %s.", BiciklaInfo);
    SCM(playerid,-1,string);
    return 1;
}
}
}
}
for(new i; i < sizeof(AvionInfo); i++)
{
    if(AvionInfo == vehicleid)
    {
        if(AvionInfo == 1)
{
    if(PI == i || AvionInfo == 0 || PI == 6 || PI == 5 || PI == 7 || PI == 😎
      {
                        if(PI == 😎 SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u letelicu ID: %d!",i);
          if(PI >= 6) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u letelicu ID: %d!",i);
          if(PI == 5) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u letelicu ID: %d!",i);
    return 1;
}
else
{
new string; SetPlayerPos(playerid, Poz, Poz, Poz);
      format(string,sizeof(string), ""LLJUBA"Letelica Zakljucana | "SIVA"Vlasnik: %s", AvionInfo);
    SCM(playerid,-1,string);
    return 1;
}
}
}
}
for(new i; i < sizeof(PlovilaInfo); i++)
{
    if(PlovilaInfo == vehicleid)
    {
        if(PlovilaInfo == 1)
{
    if(PI == i || PlovilaInfo == 0 || PI == 6 || PI == 5 || PI == 7 || PI == 😎
      {
                        if(PI == 😎 SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u plovilo ID: %d!",i);
          if(PI >= 6) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u plovilo ID: %d!",i);
          if(PI == 5) SCMF(playerid,-1,""LLJUBA"(BG:RP): "BELA"Ulazite u plovilo ID: %d!",i);
return 1;
}
else
{
new string; SetPlayerPos(playerid, Poz, Poz, Poz);
      format(string,sizeof(string), ""LLJUBA"Plovilo Zakljucano | "SIVA"Vlasnik: %s", PlovilaInfo);
    SCM(playerid,-1,string);
    return 1;
}
}
}
}
if(vehicleid >= vmotosalon && vehicleid <= vmotosalon)
{
  SetPlayerPos(playerid, Poz, Poz, Poz);
    SCM(playerid,-1,""LLJUBA"(("SIVA"BE-Info"LLJUBA")): "BELA"Ne mozete uci u izlozbeno vozilo!");
}
if(vehicleid == IzlozbenoAuto)
{
    SetPlayerPos(playerid, Poz, Poz, Poz);
    SCM(playerid,-1,""LLJUBA"(("SIVA"BE-Info"LLJUBA")): "BELA"Ne mozete uci u izlozbeno vozilo!");
}
if(AutoSalonVozila(vehicleid))
{
    SetPlayerPos(playerid, Poz, Poz, Poz);
SCM(playerid,-1,""LLJUBA"(("SIVA"BE-Info"LLJUBA")): "BELA"Ne mozete uci u izlozbeno vozilo!");
}
if(PolicijskaAuta(vehicleid))
{
if(PI != 1)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~b~Bosnian GamingPolicija!", 2500, 5);
}
}
if(FBIAuta(vehicleid))
{
if(PI != 7)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~b~Bosnian GamingFBI!", 2500, 5);
}
}
/*
if(ParkingAuta(vehicleid))
{
if(PI != 😎
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~b~Parking Servis!", 2500, 5);
}
}
*/
if(VladaAuta(vehicleid))
{
if(PI != 😎
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~b~VLADA!", 2500, 5);
}
}
if(RMAuta(vehicleid))
{
if(PI != 9)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~r~Russian Mafia", 2500, 5);
}
}
else if(TVFAuta(vehicleid))
{
if(PI != 2)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~r~LCN!", 2500, 5);
}
}
else if(YAKVozila(vehicleid))
{
if(PI != 3)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~l~Yakuza!", 2500, 5);
}
}
else if(GroveVozila(vehicleid))
{
if(PI != 4)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~g~Grove Street Family!", 2500, 5);
}
}
else if(BallasVozila(vehicleid))
{
if(PI != 5)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~w~Ballas!", 2500, 5);
}
}
else if(NovinariVozila(vehicleid))
{
    if(PI != 6)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~y~RTS Novinari!", 2500, 5);
}
}
else if(NortenosVozila(vehicleid))
{
if(PI != 12)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~w~Los Aztecas!", 2500, 5);
}
}
else if(GSCVozila(vehicleid))
{
if(PI != 13)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~w~Al Kaida!", 2500, 5);
}
}
else if(PrivatnaVozila(vehicleid))
{
if(PI != 14)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~w~Toretto Family!", 2500, 5);
}
}

else if(CuneoVozila(vehicleid))
{
if(PI != 19)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~w~Hitman!", 2500, 5);
}
}
else if(SalvatoreVozila(vehicleid))
{
if(PI != 17)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~w~Salvatore!", 2500, 5);
}
}
else if(BoulevarVozila(vehicleid))
{
if(PI != 1😎
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~w~Trijada!", 2500, 5);
}
}
else if(MFAuta(vehicleid))
{
if(PI != 20)
{
SetPlayerPos(playerid, Poz, Poz, Poz);
GameTextForPlayer(playerid, "~w~Monroe Family!", 2500, 5);
}
}
}
return 1;
}
Imam problem jos jedan kad hoce da sjedne g neki igrac a nije u toj org ne moze mu eto vidite koji je problem sve u svemu hvala!
Debug iz server_log: /
Neke video/slike ako je problem ingame (obavezno ako je ingame): //
PS: Sta vise pravila, jesam postavio POMOC za ERROR, kakva:"pravila", sta treba drugo da uradim?
Darko Neskovic
4
Shot Caller
7. Mar. 2018.
daj tu liniju gde ti error
Amar Corleone
3
Wheel Man
7. Mar. 2018.
Ima ti sve tu to sto pise onplayerentevehicle i to return 1; na tom dolazi error
Amar Corleone
3
Wheel Man
7. Mar. 2018.
POPRAVIO SAM SAM LOCK!

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha