22.05.2013, 10:13
Ok so on the start of the gamemode I have it like this
I defined "x033FF00" as lightgreen colour but im getting this error
C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(257) : error 017: undefined symbol "COLOR_LIGHTGREEN"
Did I put the define in a wrong place? or I did anything wrong like I was just trying to do this
Help Appreciated
Код:
// This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #include <a_players> #include <a_vehicles> #if defined FILTERSCRIPT //Colour Defines #define COLOR_LIGHTGREEN x033FF00
C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\gamemodes\two.pwn(257) : error 017: undefined symbol "COLOR_LIGHTGREEN"
Did I put the define in a wrong place? or I did anything wrong like I was just trying to do this
Код:
//When Player Connects public OnPlayerConnect(playerid) { SendClientMessage(playerid, COLOR_LIGHTGREEN, "Welcome to Twoґs Freeroam Roleplay Script"); return 1; }
