30.09.2013, 17:55
See where u see #include <a_samp>
Like this
then Down in it Just do
if u want to add other color Just type in ****** that u want this Color Code and do like this be adding it Just add before like that
if u want to send cilent message ig from script when player join do this server do:
Here then Just Add this:
if u want to change color just change (playerid, COLOR_and write the color name
if u want to change the message when player spawnn (playerid, COLOR_<any color>, <write here>
Hope I helped u
Like this
Код:
// This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp>
Код:
#define COLOR_GREEN 0x00FF00 #define COLOR_RED 0xFF0000 #define COLOR_BLACK 0x000000
Код:
#define COLOR_<Should be Caps Color name> <then just for> 0x <add here the code>
Код:
public OnPlayerConnect(playerid) { return 1; }
Код:
public OnPlayerConnect(playerid) { SendClientMessage(playerid, COLOR_BLACK, "Swan-Off || Ammo - 26"); return 1; }
if u want to change the message when player spawnn (playerid, COLOR_<any color>, <write here>
Hope I helped u