Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT //////////////////////////////////////////////////////
- #include <a_samp> // SAMP standart include
- #define red "{FF002B}"
- #define pink "{FF00D9}"
- #define purple "{DFA7F2}"
- #define blue "{A1C2FF}"
- #define green "{3DE3B1}"
- #define yellow "{FAF623}"
- #define black "{69670C}"
- #define orange "{F2C80C}"
- #define ice "{03F2FF}"
- #define lime "{00FF40}"
- static title[][10] =
- {
- ""#red"",
- ""#pink"",
- ""#purple"",
- ""#blue"",
- ""#green"",
- ""#yellow"",
- ""#black"",
- ""#orange"",
- ""#ice"",
- ""#lime""
- };
- static message[][9] =
- {
- ""#red"",
- ""#pink"",
- ""#purple"",
- ""#blue"",
- ""#green"",
- ""#yellow"",
- ""#black"",
- ""#orange"",
- ""#ice"",
- ""#lime""
- };
- static id[][9] =
- {
- ""#red"",
- ""#pink"",
- ""#purple"",
- ""#blue"",
- ""#green"",
- ""#yellow"",
- ""#black"",
- ""#orange"",
- ""#ice"",
- ""#lime""
- };
- public OnPlayerText(playerid, text[])
- {
- new rand = random(sizeof(title));
- new rand2 = random(sizeof(id));
- new rand3 = random(sizeof(message));
- static name[MAX_PLAYER_NAME],string[128];
- GetPlayerName(playerid,name,sizeof(name));
- format(string,sizeof(string),"%s%s %s(%d): %s%s",title[rand][0],name,id[rand2][0],playerid,message[rand3][0],text);
- SendClientMessageToAll(color, string);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment