Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*================================ CRÉDITOS ===================================/
- Change Color Nick [cCN] v1.0
- FILTERSCRIPT FEITO POR : cLerIsoN, é meu primeiro FS então resolvi fazer esse que
- muda a cor do nick que é facil mas eu estou aprimorando mais ..... ;Ð Obrigado!
- /================================ CRÉDITOS ===================================*/
- #include <a_samp>
- #include <zcmd>
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- // CORES ========================= CORES =======================================
- #define AMARELO 0xFFFF00AA
- #define AZUL 0x0000FFAA
- #define AZULMEDIO 0x1E90FFAA
- #define AZULLIGHT 0x00FFFFAA
- #define BRANCO 0xFFFFFFAA
- #define CHOCOLATE 0x8B4513AA
- #define CINZA 0x696969AA
- #define LARANJA 0xFFA500AA
- #define ROXO 0xA020F0AA
- #define ROSA 0xFF1493AA
- #define ROSALIGHT 0xFF00FFAA
- #define VERDEESCURO 0x8FBC8FAA
- #define VERDE 0x00FF00AA
- #define VERMELHO 0x8B0000AA
- #define VERMELHOLIGHT 0xFF0000AA
- // DIALOG_COR ==================== DIALOG_COR ==================================
- #define DIALOG_COR 9999
- new MSA[1][256] = {
- "[ {FFFFFF}! {AB82FF}] {FFFFFF}Mude a cor do seu nick usando {AB82FF}/CorNick {FFFFFF}!"
- };
- new CORESMSA[] = {
- 0xAB82FFAA
- };
- forward AutoMSA();
- public AutoMSA()
- {
- new string[256];
- new random1 = random(sizeof(MSA));
- new random2 = random(sizeof(CORESMSA));
- format(string, sizeof(string), "%s", MSA[random1]);
- SendClientMessageToAll(CORESMSA[random2],string);
- }
- public OnFilterScriptInit()
- {
- SetTimer("AutoMSA",120000,1);// Minutos da Auto Mensagem = 2 Minutos !
- print(" |||||||||||||||||||||||||||||||||||||||");
- print(" ||Change Color [cCN] by cLerIsoN v1.0||");
- print(" |||||||||||||||||||||||||||||||||||||||");
- return 1;
- }
- // COMANDO /CORNICK ============== COMANDO /CORNICK ============================
- CMD:cornick(playerid)
- {
- ShowPlayerDialog(playerid, DIALOG_COR,DIALOG_STYLE_LIST,"[cCN] by cLerIsoN - Escolha a cor do seu nick:","{FFFF00}Amarelo\n{0000FF}Azul\n{1E90FF}Azul Médio\n{00FFFF}Azul Light\n{FFFFFF}Branco\n{8B4513}Chocolate\n{696969}Cinza\n{FFA500}Laranja\n{A020F0}Roxo\n{FF1493}Rosa\n{FF00FF}Rosa Light\n{8FBC8F}Verde Escuro\n{00FF00}Verde\n{8B0000}Vermelho\n{FF0000}Vermelho Light","Ok","Fechar");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_COR)
- {
- if(response)
- {
- switch(listitem)
- {
- case 0: //Amarelo
- {
- SetPlayerColor(playerid,AMARELO);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {FFFF00}Amarelo!");
- }
- case 1: //Azul
- {
- SetPlayerColor(playerid,AZUL);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {0000FF}Azul!");
- }
- case 2: //Azul Médio
- {
- SetPlayerColor(playerid,AZULMEDIO);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {1E90FF}Azul Médio!");
- }
- case 3: //Azul Light
- {
- SetPlayerColor(playerid,AZULLIGHT);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {00FFFF}Azul Light!");
- }
- case 4: //Branco
- {
- SetPlayerColor(playerid,BRANCO);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {FFFFFF}Branco!");
- }
- case 5: //Chocolate
- {
- SetPlayerColor(playerid,CHOCOLATE);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {8B4513}Chocolate!");
- }
- case 6: //Cinza
- {
- SetPlayerColor(playerid,CINZA);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {696969}Cinza!");
- }
- case 7: //Laranja
- {
- SetPlayerColor(playerid,LARANJA);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {FFA500}Laranja!");
- }
- case 8: //Roxo
- {
- SetPlayerColor(playerid,ROXO);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {A020F0}Roxo!");
- }
- case 9: //Rosa
- {
- SetPlayerColor(playerid,ROSA);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {FF1493}Rosa!");
- }
- case 10: //Rosa Light
- {
- SetPlayerColor(playerid,ROSALIGHT);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {FF00FF}Rosa Light!");
- }
- case 11: //Verde Escuro
- {
- SetPlayerColor(playerid,VERDEESCURO);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {8FBC8F}Verde Escuro!");
- }
- case 12: //Verde
- {
- SetPlayerColor(playerid,VERDE);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {00FF00}Verde!");
- }
- case 13: //Vermelho
- {
- SetPlayerColor(playerid,VERMELHO);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {8B0000}Vermelho!");
- }
- case 14: //Vermelho Light
- {
- SetPlayerColor(playerid,VERMELHOLIGHT);
- SendClientMessage(playerid,0xAB82FFAA,"[ {FFFFFF}! {AB82FF}] {FFFFFF}Você mudou a cor do seu nick para: {FF0000}Vermelho!");
- }
- }
- }
- }
- return 1;
- }
- #endif
- /*================================ CRÉDITOS ===================================/
- Change Color Nick [cCN] v1.0
- FILTERSCRIPT FEITO POR : cLerIsoN, é meu primeiro FS então resolvi fazer esse que
- muda a cor do nick que é facil mas eu estou aprimorando mais ..... ;Ð Obrigado!
- /================================ CRÉDITOS ===================================*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement