YSI include error - 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: YSI include error (
/showthread.php?tid=409609)
YSI include error -
_Mohit_ - 22.01.2013
i updated the ysi include to v3.1 and after compling the script i get this error...I even checked the directory,the file is there..
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI/y_ini.inc(161) : fatal error 100: cannot read from file: "internal\y_version"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Y_INI error -
Threshold - 22.01.2013
You probably have #include <YSI/y_ini> in your script. Change it to:
#include <YSI\y_ini>
Re: Y_INI error -
LarzI - 22.01.2013
Change
to
AW: YSI include error -
Blackazur - 22.01.2013
Код:
#include <YSI\y_ini>
Re: Y_INI error -
_Mohit_ - 22.01.2013
Quote:
Originally Posted by BenzoAMG
You probably have #include <YSI/y_ini> in your script. Change it to:
#include <YSI\y_ini>
|
ok got it..Thank you for the help..+reped
Re: YSI include error -
_Mohit_ - 22.01.2013
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI\internal\..\y_als.inc(112 ) : error 001: expected token: "-identifier-", but found ","
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI\internal\y_dohooks.inc(35 2) : error 029: invalid expression, assumed zero
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI\internal\y_dohooks.inc(16 97) : error 029: invalid expression, assumed zero
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI\internal\y_dohooks.inc(17 34) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate(%0)")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
not again! please help
AW: YSI include error -
Blackazur - 22.01.2013
Try:
you need the YSI.inc include.
Re: YSI include error -
Threshold - 22.01.2013
YSI is a library not an include. This holds all the YSI includes... -___-
The amount of posts I have seen that are just.... it annoys me.
Anyway, you seem to have defined OnVehicleDamageStatusUpdate twice, like:
pawn Код:
#define OnVehicleDamageStatusUpdate(%0) ...
If you want, you could add:
pawn Код:
#if defined OnVehicleDamageStatusUpdate
#undef OnVehicleDamageStatusUpdate
#endif
above it, if you really do have to use this function.
Re: YSI include error -
_Mohit_ - 22.01.2013
Quote:
Originally Posted by BenzoAMG
YSI is a library not an include. This holds all the YSI includes... -___-
The amount of posts I have seen that are just.... it annoys me.
Anyway, you seem to have defined OnVehicleDamageStatusUpdate twice, like:
pawn Код:
#define OnVehicleDamageStatusUpdate(%0) ...
If you want, you could add:
pawn Код:
#if defined OnVehicleDamageStatusUpdate #undef OnVehicleDamageStatusUpdate #endif
above it, if you really do have to use this function.
|
tried it but too same errors and warnings
Re: YSI include error -
_Mohit_ - 22.01.2013
Quote:
Originally Posted by _Mohit_
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI\internal\..\y_als.inc(112 ) : error 001: expected token: "-identifier-", but found ","
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI\internal\y_dohooks.inc(35 2) : error 029: invalid expression, assumed zero
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI\internal\y_dohooks.inc(16 97) : error 029: invalid expression, assumed zero
C:\Users\Mohit\Desktop\SAMP CNR SERVER\pawno\include\YSI\internal\y_dohooks.inc(17 34) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate(%0)")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
|
i get these errors