YSI include error
#1

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.
Reply
#2

You probably have #include <YSI/y_ini> in your script. Change it to:
#include <YSI\y_ini>
Reply
#3

Change
pawn Код:
#include <YSI/y_ini>
to
pawn Код:
#include <YSI\y_ini>
Reply
#4

Код:
#include <YSI\y_ini>
Reply
#5

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
Reply
#6

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
Reply
#7

Try:

Quote:

#include >YSI<

you need the YSI.inc include.
Reply
#8

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.
Reply
#9

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
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)