Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //**Include**
- #include <a_samp>
- //#if defined FILTERSCRIPT
- //**Culorile**
- #define COLOR_BRIGHTRED 0xE60000FF
- #define COLOR_BLUE 0x0000FFAA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_PURPLE 0x9900FFAA
- #define COLOR_BROWN 0x993300AA
- #define COLOR_ORANGE 0xFF9933AA
- #define COLOR_CYAN 0x99FFFFAA
- #define COLOR_TAN 0xFFFFCCAA
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_KHAKI 0x999900AA
- #define COLOR_LIME 0x99FF00AA
- #define COLOR_BLACK 0x000000AA
- #define COLOR_TURQ 0x00A3C0AA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_DARKRED 0xAA993333
- #define COLOR_VIOLET 0x9955DEEE
- public OnFilterScriptInit()
- {
- print("\n-----------------------------------------");
- print(" Culori ");
- print(" Copyright � 2009 V&L ");
- print("-----------------------------------------\n");
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid,COLOR_YELLOW," ..::Scrie /culori pentru a schimba culoarea::.. ");
- SendClientMessage(playerid,COLOR_YELLOW," ..::Creat de [DSK]Vyorel::.. ");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/culori", true) == 0) {
- SendClientMessage(playerid, COLOR_GREEN,"/red /brightred /blue /grey /green /yellow");
- SendClientMessage(playerid, COLOR_YELLOW,"/white /purple /brown /orange /cyan ");
- SendClientMessage(playerid, COLOR_YELLOW,"/tan /pink /khanki /lime /black");
- SendClientMessage(playerid, COLOR_YELLOW,"/turq /lightblue /darkred /violet");
- SendClientMessage(playerid, COLOR_RED,"*** Creat de [DSK]Vyorel ***");
- SendClientMessage(playerid, COLOR_BLUE,"*** Forum: www.crimelife.smfnew.com ***");
- return 1;
- }
- if(strcmp("/red", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_RED);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/brightred", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_BRIGHTRED);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/blue", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_BLUE);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/grey", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_GREY);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/green", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_GREEN);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/yellow", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_YELLOW);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/white", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_WHITE);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/purple", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_PURPLE);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/brown", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_BROWN);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/orange", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_ORANGE);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/cyan", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_CYAN);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/tan", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_TAN);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/pink", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_PINK);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/khanki", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_KHAKI);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/lime", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_LIME);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/black", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_BLACK);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/turq", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_TURQ);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/lightblue", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_LIGHTBLUE);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/darkred", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_DARKRED);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- if(strcmp("/violet", cmdtext, true, 10) == 0)
- {
- SetPlayerColor(playerid, COLOR_VIOLET);
- SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
- return 1;
- }
- return 0;
- }
- //#endif
- //=======================[ www.crimelife.smfnew.com ]===========================
- //-----------------------------[ www.sa-mp.ro ]---------------------------------
- //==========================[ No Remove Credits]================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement