- #include <a_samp>
- #define WHITE 0xFFFFFFFF
- #define COLOR_GRAD1 0xB4B5B7FF
- #define COLOR_GRAD2 0xBFC0C2FF
- #define COLOR_GRAD3 0xCBCCCEFF
- #define COLOR_GRAD4 0xD8D8D8FF
- #define COLOR_GRAD5 0xE3E3E3FF
- #define COLOR_GRAD6 0xF0F0F0FF
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_ORANGE 0xF97804FF
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA // current used code and i used // for a comment
- #define COLOR_LIGHTRED 0xFF6347AA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_LIGHTGREEN 0x9ACD32AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_YELLOW2 0xF5DEB3AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_FADE1 0xE6E6E6E6
- #define COLOR_FADE2 0xC8C8C8C8
- #define COLOR_FADE3 0xAAAAAAAA
- #define COLOR_FADE4 0x8C8C8C8C
- #define COLOR_FADE5 0x6E6E6E6E
- #define COLOR_PURPLE 0xC2A2DAAA
- #define COLOR_DBLUE 0x2641FEAA
- #define COLOR_ALLDEPT 0xFF8282AA
- #define COLOR_NEWS 0xFFA500AA
- #define COLOR_OOC 0xE0FFFFAA
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid,COLOR_RED,"Hai.") // so the player who connected (its OnPlayerConnect(playerid) ) will see this message Hai there welcome to my server in red color
- SendClientMessage(playerid,COLOR_BLACK,"Welcome to my server")
- SendClientMessage(playerid,COLOR_GREEN,"By: WooTh")
- return 1; //code is ended so no need for further looking so u end with this
- } //BRACKETS ARE REALY NESSESCARY + TABS ARE TOO