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?- A software bug is a problem causing a program to crash or produce invalid output. The problem is caused by insufficient or erroneous logic. A bug can be an error, mistake, defect or fault, which may cause failure or deviation from expected results.
- Most bugs are due to human errors in source code or its design. A program is said to be buggy when it contains a large number of bugs, which affect program functionality and cause incorrect results.
- Some bugs might not have serious effects on the functionality of the program and may remain undetected for a long time. A program might crash when serious bugs are left unidentified. Another category of bugs called security bugs may allow a malicious user bypass access controls and obtain unauthorized privileges.
Definition - What does 'Compilation error' mean?- Compilation error refers to a state when a compiler fails to compile a piece of computer program source code, either due to errors in the code, or, more unusually, due to errors in the compiler itself. A compilation error message often helps programmers debugging the source code for possible errors.
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'