04.08.2012, 00:16
Okay so, I'm having these strange errors in my Game-Mode that when I compile it without using the include mentioned in my Game-Mode, they would still show up.
These errors are from 2 separate files in the YSI folder. 1 error in "Y_ALS.inc" and the others in "Y_DOHOOKS.inc"
Here are the errors I'm somehow getting.
Y_ALS error line (111):
Y_DOHOOKS error line (310):
These are the includes in my Game-Mode:
It seems like somehow they all pertain to the callback "OnVehicleDamageStatusUpdate".
I would very much appreciate it if you guys would help me with this error(I've been getting it in quite a couple of game modes actually).
These errors are from 2 separate files in the YSI folder. 1 error in "Y_ALS.inc" and the others in "Y_DOHOOKS.inc"
Here are the errors I'm somehow getting.
Код:
C:\Users\Desktop\CopsRobbers\pawno\include\YSI\internal\..\internal\..\y_als.inc(111) : error 001: expected token: "-identifier-", but found "," C:\Users\Desktop\CopsRobbers\pawno\include\YSI\internal\..\internal\y_dohooks.inc(310) : error 029: invalid expression, assumed zero C:\Users\Desktop\CopsRobbers\pawno\include\YSI\internal\..\internal\y_dohooks.inc(310) : warning 221: label name "Bit" shadows tag name C:\Users\Desktop\CopsRobbers\pawno\include\YSI\internal\..\internal\y_dohooks.inc(310) : error 029: invalid expression, assumed zero C:\Users\CopsRobbers\pawno\include\YSI\internal\..\internal\y_dohooks.inc(310) : error 001: expected token: ")", but found ";" C:\Users\Desktop\CopsRobbers\pawno\include\YSI\internal\..\internal\y_dohooks.inc(310) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
Bit:ALS_OnVehicleDamageStatusUpdate,
Код:
HOOKS_DO_ONE_CALLBACK<VehicleDamageStatusUpdate>
Код:
#include <a_samp> #include <fixes> #include <AntiCleo> #include <FloodControl2> #include <dudb> #include <CPLoader> #include <YSI\y_commands> #include <damm> #include <sscanf2> #include <foreach> #include <JunkBuster>
I would very much appreciate it if you guys would help me with this error(I've been getting it in quite a couple of game modes actually).