Defining colours
#1

Ok so on the start of the gamemode I have it like this

Код:
// 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
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


Код:
//When Player Connects
public OnPlayerConnect(playerid)
{
	SendClientMessage(playerid, COLOR_LIGHTGREEN, "Welcome to Twoґs Freeroam Roleplay Script");
	return 1;
}
Help Appreciated
Reply


Messages In This Thread
Defining colours - by Gabriel1337 - 22.05.2013, 10:13
Re: Defining colours - by Abhishek. - 22.05.2013, 10:18
Re: Defining colours - by Gabriel1337 - 22.05.2013, 10:21
Re: Defining colours - by Gabriel1337 - 22.05.2013, 10:27
Re: Defining colours - by Vince - 22.05.2013, 10:35
Re: Defining colours - by Xoomer - 22.05.2013, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)