SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 16/07/2014, 07:38 PM   #1
EgyptForLife
Huge Clucker
 
EgyptForLife's Avatar
 
Join Date: Mar 2014
Posts: 283
Reputation: 9
Default [S-HELP] Compiling errors, Errors and Lines inside.

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 (c) 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 !
EgyptForLife is offline   Reply With Quote
Old 16/07/2014, 07:38 PM   #2
Clad
Banned
 
Join Date: Dec 2013
Location: Detroit
Posts: 1,290
Reputation: 85
Default Re: [S-HELP] Compiling errors, Errors and Lines inside.

Please don't put only the error line, Put what is before too.
Clad is offline   Reply With Quote
Old 16/07/2014, 07:40 PM   #3
EgyptForLife
Huge Clucker
 
EgyptForLife's Avatar
 
Join Date: Mar 2014
Posts: 283
Reputation: 9
Default Re: [S-HELP] Compiling errors, Errors and Lines inside.

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];
EgyptForLife is offline   Reply With Quote
Old 16/07/2014, 08:56 PM   #4
Stanford
High-roller
 
Stanford's Avatar
 
Join Date: Feb 2012
Posts: 1,028
Reputation: 84
Default Re: [S-HELP] Compiling errors, Errors and Lines inside.

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.
Stanford is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors in a few lines. printer Scripting Help 0 11/05/2012 05:52 PM
Script errors + lines. City of Santos: Roleplay Help Archive 8 11/07/2011 10:17 PM
[Errors]Compiling Errors SamAlexSam Help Archive 2 04/02/2010 02:31 PM
Common compiling errors - READ BEFORE POSTING ERRORS Streetplaya Help Archive 0 23/01/2010 12:20 PM


All times are GMT. The time now is 03:28 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.