Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Problema2!!!


Question

Posted

Acuma am gasit alt GM dar lafel e in engleza dar cand sa il compilez ca lam tradus imii da urtamotile erori

C:\Documents and Settings\edy\Desktop\mode\gamemode\SDR 2.pwn(1463) : error 017: undefined symbol "SetDisabledWeapons"

C:\Documents and Settings\edy\Desktop\mode\gamemode\SDR 2.pwn(2292) : error 025: function heading differs from prototype

C:\Documents and Settings\edy\Desktop\mode\gamemode\SDR 2.pwn(2298) : error 025: function heading differs from prototype

C:\Documents and Settings\edy\Desktop\mode\gamemode\SDR 2.pwn(2304) : error 025: function heading differs from prototype

C:\Documents and Settings\edy\Desktop\mode\gamemode\SDR 2.pwn(8911) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Va rog ajutaima :-\ :-\ :-\ :-\ :-\ :-\ :-\

9zZndmN.png

8 answers to this question

Recommended Posts

Guest BangBus
Posted

SetDisabledWeapons si OnPlayerPrivMsg a fost scos in versiunea 0.3b (si 0.3a) iar pentru celelalte erori posteaza codul [linia].

Posted

Mersi M....acuma saiti dau la celelatle 3 liniile

la

C:\Documents and Settings\edy\Desktop\GM\gamemode\SDR 2.pwn(2292) : error 025: function heading differs from prototype

Scrie: public OnVehicleMod(vehicleid,componentid)

C:\Documents and Settings\edy\Desktop\GM\gamemode\SDR 2.pwn(2298) : error 025: function heading differs from prototype

Scrie: public OnVehiclePaintjob(vehicleid,paintjobid)

C:\Documents and Settings\edy\Desktop\GM\gamemode\SDR 2.pwn(2304) : error 025: function heading differs from prototype

Scrie: public OnVehicleRespray(vehicleid,color1,color2)

9zZndmN.png
Posted

mda, mai verifica wiki-ul ;)

public OnVehicleMod(vehicleid,componentid)
este
OnVehicleMod(playerid,vehicleid,componentid)

public OnVehiclePaintjob(vehicleid,paintjobid)
este
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)

public OnVehicleRespray(vehicleid,color1,color2)
este
public OnVehicleRespray(playerid, vehicleid, color1, color2)

Posted

Mersi StuntMan :D :D :D;) ;) ;) ;) 5/5 pentru rezolvar dar mai am o problema :-\

C:\Documents and Settings\edy\Desktop\GM\gamemode\SDR 2.pwn(9197) : warning 203: symbol is never used: "OnVehicleMod"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Warning.

daca ma ajuti la asta.....esti cel mai tare ;D ;D ;D :D :D :D;) ;) ;) ;) :) :) :)

9zZndmN.png
Posted

stuntman-=!!" post="47580" timestamp="1291626540"]

Trebuia

OnVehicleMod(playerid,vehicleid,componentid)

My fault :D

Ai scris acelasi lucuru :P.....HELP :-\ :-\

9zZndmN.png
Posted

OnVehicleMod este un callback, deci ar trebui sa fie declarat cu forward si public.

Daca tot l-ai declarat drept simbol, poti folosi

#pragma unused OnVehicleMod

pentru a nu mai afisa acel warning.

Posted

Multumesc tuturor ;D ;D :D :D ;) ;) dar ma ajutat un prieten si in loc de erroare da warning si sa compilat e bun al scriptng :D

[move][shadow=red,left][glow=red,2,300]S.O.A.D[/glow][/shadow][/move]

9zZndmN.png
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.