04.03.2009, 19:03
You should either use COLOR_GREEN or the hex code. Not both of them. So use
or
print is to display something in the server window, also shows up in server_log.txt. With define you can do
Now you can use hellomessage instead of "hello you".
With #if defined you can check if you defined something. With this you can do
then check with
wether you have to run OnGameModeInit or OnFilterScriptInit
pawn Код:
SendClientMessage(playerid,COLOR_GREEN,"Hello");
pawn Код:
SendClientMessage(playerid,0xFFFFFF,"Hello");
pawn Код:
#define hellomessage "hello you"
With #if defined you can check if you defined something. With this you can do
pawn Код:
#define filterscript
pawn Код:
#if defined filterscript