Erori error 001: expected token: "-string end-", but found

Započeo SanelPandzic, Decembar 19, 2017, 19:16:26 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:brp v1.0
Detaljan opis problema:kada kompile mod erori update sam foreach i najnoviju verziju sampa 0.3.8 rc4-1 windows server pomoc?
Dio skripte:
erori
[pawn]C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(17552) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(17552) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(17552) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(17552) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


4 Errors[/pawn]
skripta
[pawn] /////////////////////////////////////////////////
   for(new o; o < MAX_VOZILA; o++)
   {
       if("VozilojeAvion"(GetVehicleModel(o)) || "VoziloJeBrod"(GetVehicleModel(o)) || "VoziloJeKamion"(GetVehicleModel(o))) Fuel
  • = 80;
           else if(VoziloJeMotor(GetVehicleModel(o))) Fuel
  • = 45;
           else if(VoziloJeBicikla(GetVehicleModel(o)) || GetVehicleModel(o) == 538) Fuel
  • = 1000000;
           else Fuel
  • = 45;
          if(!VoziloJeBicikla(GetVehicleModel(o)))
          {
             new engine, lights, alarm, doors, bonnet, boot, objective;
             GetVehicleParamsEx(o, engine, lights, alarm, doors, bonnet, boot, objective);
             SetVehicleParamsEx(o, 0, 0, alarm, doors, bonnet, boot, objective);
          }
          if(DostavljacVozila(GetVehicleModel(o)))
          {
              ProduktiVozila
  • = 0;
          }
       }[/pawn]
    Neke slike/video za lakse dobivanje pomoci(neobavezno):

Oznaci linije
BETA TEST IP : 94.23.208.199:9547
Fort Balkan RPG/DM
-----------------------------------------------------------------------------------
• Forum: www.fort-balkan.byethost9.com
• IP Servera: Uskoro
• Više o serveru: Work In PRogress
-----------------------------------------------------------------------------------
* Otvorenje foruma je 1. DECEMBRA u 19:00h !

Kao sto kazu postavi koja linija, al ako je ova
[pawn]if("VozilojeAvion"(GetVehicleModel(o)) || "VoziloJeBrod"(GetVehicleModel(o)) || "VoziloJeKamion"(GetVehicleModel(o))) [/pawn]
rekao bih da ti ne trebaju ovi " ". Jer ni dole nemas kod Vozilojebicikla a i mislim da ti to tu ne treba.
[pawn]if(VozilojeAvion(GetVehicleModel(o)) || VoziloJeBrod(GetVehicleModel(o)) || VoziloJeKamion(GetVehicleModel(o))) Fuel
  • = 80;[/pawn]

@SANY
evo samo ova linija ima problem
[pawn]       if("VozilojeAvion"(GetVehicleModel(o)) || "VoziloJeBrod"(GetVehicleModel(o)) || "VoziloJeKamion"(GetVehicleModel(o))) Fuel
  • = 80;
    [/pawn]

Citat: SanelScripts poslato Decembar 19, 2017, 20:55:03 POSLE PODNE
@SANY
evo samo ova linija ima problem
[pawn]       if("VozilojeAvion"(GetVehicleModel(o)) || "VoziloJeBrod"(GetVehicleModel(o)) || "VoziloJeKamion"(GetVehicleModel(o))) Fuel
  • = 80;
    [/pawn]
Samo skloni "" stavi kao sto ti obaj lik rekao gore

Mozes mi ti napravit komandu eto gore sve u temi men 10 erora izbacilo
[pawn]C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18071) : error 017: undefined symbol "SacuvajATM"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18734) : error 017: undefined symbol "SavePlayer"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18798) : error 017: undefined symbol "ProvjeraRPImena"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18800) : error 017: undefined symbol "StatusKonekta"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18804) : error 017: undefined symbol "AttachObjectRemove"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18804) : error 017: undefined symbol "ObrisiObjekte"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18805) : error 017: undefined symbol "BelaBojaIgraca"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18805) : error 017: undefined symbol "KreirajTextDrawe"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18864) : error 017: undefined symbol "GetName"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18867) : error 017: undefined symbol "StatusKonekta"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18871) : error 017: undefined symbol "Korisnici"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18873) : error 017: undefined symbol "Korisnici"

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
[/pawn]
sto mi je onaj gore reko ja sam samo zamenio

Citat: SanelScripts poslato Decembar 19, 2017, 21:14:59 POSLE PODNE
@ᴢɪᴠᴋᴏᴠɪá´,, Mozes mi ti napravit komandu eto gore sve u temi men 10 erora izbacilo
[pawn]C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18071) : error 017: undefined symbol "SacuvajATM"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18734) : error 017: undefined symbol "SavePlayer"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18798) : error 017: undefined symbol "ProvjeraRPImena"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18800) : error 017: undefined symbol "StatusKonekta"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18804) : error 017: undefined symbol "AttachObjectRemove"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18804) : error 017: undefined symbol "ObrisiObjekte"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18805) : error 017: undefined symbol "BelaBojaIgraca"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18805) : error 017: undefined symbol "KreirajTextDrawe"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18864) : error 017: undefined symbol "GetName"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18867) : error 017: undefined symbol "StatusKonekta"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18871) : error 017: undefined symbol "Korisnici"
C:\Users\Sanel\Desktop\Skripta\gamemode\BRP v1.0.0.pwn(18873) : error 017: undefined symbol "Korisnici"

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
[/pawn]
sto mi je onaj gore reko ja sam samo zamenio