Compiling Error
#1

(1337) : error 029: invalid expression, assumed zero
(1337) : error 017: undefined symbol "SCM"
(1337) : error 076: syntax error in the expression, or invalid function call
(1337) : fatal error 107: too many error messages on one line
(15)error 010: invalid function or declaration

Lines 1335 - 1342 :
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(PRESSED(KEY_YES))
{
ClearAnimations(playerid);
}
return 1;
}


Line 15 : (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))


Defines & Includes :
Quote:

#include <a_samp>
#include <sscanf2>
#include <YSI\y_ini>
#include <mSelection>
#include <CMD>
#include <foreach>
#undef MAX_PLAYERS
#define MAX_PLAYERS 100
#define PRESSED(%0) \
#define SCM SendClientMessage
new skinlist = mS_INVALID_LISTID;
new vehlist = mS_INVALID_LISTID;
new Text:Time, Textate;
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
#define COLOR_BLUE 0xFFFFFFF
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_RED 0xFF0000AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_DARKBLUE 0x0000BBAA
#define DIALOGID 3
#define COLORS 14
#define RADIO 15
#define DIALOG_RULES 22
#define DIALOG_NEWS 33
#define DIALOG_TEAM 44
#define DIALOG_VIP 55
#define PREV_BG_COLOR2 0xFFFF00AA
#define DIALOG_BG_COLOR 0x4A5A6BBB
#define PREV_BG_COLOR 0x88888899

Reply


Messages In This Thread
Compiling Error - by aoky - 30.11.2016, 15:34
Re: Compiling Error - by BrianFaria - 30.11.2016, 15:43
Re: Compiling Error - by aoky - 30.11.2016, 15:46
Re: Compiling Error - by aoky - 30.11.2016, 15:48
Re: Compiling Error - by SoFahim - 30.11.2016, 15:49
Re: Compiling Error - by aoky - 30.11.2016, 15:51
Re: Compiling Error - by SoFahim - 30.11.2016, 15:59
Re: Compiling Error - by BrianFaria - 30.11.2016, 16:00
Re: Compiling Error - by aoky - 30.11.2016, 16:21
Re: Compiling Error - by SoFahim - 30.11.2016, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)