SA-MP Forums Archive
Got bug when i add include - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Got bug when i add include (/showthread.php?tid=531207)



Got bug when i add include - jesdynguyen - 11.08.2014

i used include this https://sampforum.blast.hk/showthread.php?tid=338586

People talk its good work but me when i install this got bug a lot

i do same this


C:\server\pawno\include\avt.inc(239) : warning 202: number of arguments does not match definition
C:\server\pawno\include\avt.inc(251) : error 025: function heading differs from prototype
C:\server\pawno\include\avt.inc(42 : warning 203: symbol is never used: "seatid"
countryrole.pwn(14060) : warning 209: function "avt_OnVehicleDeath" should return a value
countryrole.pwn(4859 : error 035: argument type mismatch (argument 2)
countryrole.pwn(48713) : error 035: argument type mismatch (argument 2)
countryrole.pwn(48725) : error 035: argument type mismatch (argument 2)
countryrole.pwn(48737) : error 035: argument type mismatch (argument 2)
countryrole.pwn(48874) : error 035: argument type mismatch (argument 2)
countryrole.pwn(49017) : error 035: argument type mismatch (argument 2)
countryrole.pwn(49141) : error 035: argument type mismatch (argument 2)
countryrole.pwn(49152) : error 035: argument type mismatch (argument 2)
countryrole.pwn(49163) : error 035: argument type mismatch (argument 2)
countryrole.pwn(105079) : warning 209: function "avt_OnVehicleSpawn" should return a value
pcountryrolewn(107493) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


11 Errors.

please help me


Re: Got bug when i add include - jesdynguyen - 11.08.2014

I NEED HELP , SORRY BAD ENGLISH


Re: Got bug when i add include - Jessyy - 11.08.2014

Definition - What does software 'Bug' mean? Definition - What does 'Compilation error' mean? so stop saying 'got bug...' because it is not... actually is 'compilation error'


Re: Got bug when i add include - jesdynguyen - 11.08.2014

ok then , i got 'compilation error' , please need help


Re: Got bug when i add include - Jessyy - 11.08.2014

Код:
countryrole.pwn(14060) : warning 209: function "avt_OnVehicleDeath" should return a value
1. in file 'countryrole.pwn' search for 'OnVehicleDeath' you forgot to add 'return 1' and the end of function;

Код:
C:\server\pawno\include\avt.inc(42 : warning 203: symbol is never used: "seatid"
2. in file 'avt.inc' search for 'avt_PutPlayerInVehicle' and add at the beginning '#pragma unused seatid'