[S-HELP] Compiling errors, Errors and Lines inside. -
EgyptForLife - 16.07.2014
Hello,
When I tried to compile my gamemode, it gave me this :
Code:
C:\Users\User\Desktop\TDM\pawno\include\YSI\y_als.inc(109) : error 001: expected token: "-identifier-", but found ","
C:\Users\User\Desktop\TDM\pawno\include\YSI\y_hooks.inc(233) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\TDM\pawno\include\YSI\y_hooks.inc(233) : warning 221: label name "Bit" shadows tag name
C:\Users\User\Desktop\TDM\pawno\include\YSI\y_hooks.inc(233) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\TDM\pawno\include\YSI\y_hooks.inc(233) : error 001: expected token: ")", but found ";"
C:\Users\User\Desktop\TDM\pawno\include\YSI\y_hooks.inc(233) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Here are the 2 lines :
Line #109 :
Code:
new Float:RussiaSpawn[][] =
Line #233
Code:
#define COLOR_BLUE2 0x0015FFAA
Please help me, I will give you +rep if your answer worked.
Thanks !
Re: [S-HELP] Compiling errors, Errors and Lines inside. -
Clad - 16.07.2014
Please don't put only the error line, Put what is before too.
Re: [S-HELP] Compiling errors, Errors and Lines inside. -
EgyptForLife - 16.07.2014
For Line #109:
Code:
//==========RANDOM SPAWNS=========================//
new Float:EurasiaSpawn[][] =
{
{1085.0192,1884.2351,10.8203},
{1092.0712,1915.7733,10.8203},
{1148.1559,1973.5439,10.8203}
};
new Float:ArabSpawn[][] =
{
{-754.8708,1590.7395,26.9609},
{-729.4348,1538.6104,40.4290},
{-799.0009,1551.8523,27.1172}
};
new Float:RussiaSpawn[][] =
{
{-136.1105,1116.5667,20.1966},
{-164.6844,1135.0851,19.7422},
{-20.9232,1120.6238,19.8900}
};
new Float:AusSpawn[][] =
{
{405.4855,2457.2576,16.5000},
{415.0857,2534.5173,19.1484},
{373.7360,2469.9290,16.4844}
};
new Float:USSpawn[][] =
{
{-250.4555,2595.8433,62.8582},
{-231.0395,2651.1475,62.8003},
{-282.5961,2728.5774,62.1439}
};
For Line #233 :
Code:
//-=Main colours=-//
#define blue 0x375FFFFF
#define red 0xFF0000AA
#define green 0x33FF33AA
#define yellow 0xFFFF00AA
#define grey 0xC0C0C0AA
#define blue1 0x2641FEAA
#define lightblue 0x33CCFFAA
#define orange 0xFF9900AA
#define black 0x2C2727AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_BLACK 0x000000AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_GREEN1 0x33AA33AA
#define COLOR_BROWN 0xA52A2AAA
#define WHITE 0xFFFFFFFF
#define COLOR_BLUE2 0x0015FFAA
new VID[MAX_PLAYERS];
Re: [S-HELP] Compiling errors, Errors and Lines inside. -
Stanford - 16.07.2014
There's nothing to do with the codes here, it says that the problem inside the y_hooks include, I suggest downloading the latest YSI package by Y_Less, and re-compiling, please consider putting the files in the proper places. this should work.