public onplayerdeah(playerid) { SetPlayerColor(playerid,"color"); return 1; }
//SISTEMA DE COLORES SAMP PARA NICK/TAG POR KREATOR EL UNICO Y ORIGINAL =D// //Compartir Es Crecer Pero No Robar Creditos // //#define FILTERSCRIPT #include <a_samp> #include <progress> #include "../include/gl_common.inc" //Colores// #define COLOR_AMARILLO 0xFFFF00FF #define COLOR_VERDE 0x33AA33AA #define COLOR_MORADO 0x7D03FFFF #define COLOR_ROJO 0xBE031000 #define COLOR_ROSA 0xFF05CDFF #define COLOR_VERDECLARO 0x03FF35FF #define COLOR_AZULCLARO 0x5884DF00 #define COLOR_CIAM 0x03F2FFFF #define COLOR_AZULMARINO 0x0065FE00 #define COLOR_AZUL 0x0000FFFF #define COLOR_AZULOSCURO 0x090D5900 #define COLOR_CELESTE 0x058AFFFF #define COLOR_PURPURA 0x9A03FFFF #define COLOR_VIOLETA 0x71416B00 #define COLOR_MARRON 0x6F491900 #define COLOR_ROJOOSCURO 0x98101200 #define COLOR_LIMA 0x4CB84900 #define COLOR_NARANJA 0xFF7403FF #define COLOR_PIEL 0xFFCC9900 //FILTERSCRIPT// #if defined FILTERSCRIPT new color[20] { COLOR_AMARILLO COLOR_VERDE COLOR_MORADO COLOR_ROSA COLOR_VERDECLARO COLOR_AZULCLARO COLOR_CIAM COLOR_AZULMARINO COLOR_AZUL COLOR_AZULOSCURO COLOR_CELESTE COLOR_PURPURA COLOR_VIOLETA COLOR_MARRON COLOR_ROJOOSCURO COLOR_LIMA COLOR_NARANJA COLOR_PIEL }; //CALLBACKS public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Batalla Extrema Latina El Unico y El Original"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Sistema De Colores por Comando De\n Texto By Kreator"); print("----------------------------------\n"); } #endif public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/amarillo", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_AMARILLO,"Ahora Eres Color Amarillo"); SetPlayerColor(playerid, 0xFFFF00FF); return 1; } if (strcmp("/verde", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_VERDE,"Ahora Eres Color Verde"); SetPlayerColor(playerid, 0x33AA33AA); return 1; } if (strcmp("/azul", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_AZUL,"Ahora Eres Color Azul"); SetPlayerColor(playerid, 0x0000FFFF); return 1; } if (strcmp("/morado", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_MORADO,"Ahora Eres Color Morado"); SetPlayerColor(playerid, 0x7D03FFFF); return 1; } if (strcmp("/rojo", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_ROJO,"Ahora Eres Color Rojo"); SetPlayerColor(playerid, 0xBE031000); return 1; } if (strcmp("/rosa", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_ROSA,"Ahora Eres Color Rosa"); SetPlayerColor(playerid, 0xFF05CDFF); return 1; } if (strcmp("/verdeclaro", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_VERDECLARO,"Ahora Eres Color Verde Claro"); SetPlayerColor(playerid, 0x03FF35FF); return 1; } if (strcmp("/azulclaro", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_AZULCLARO,"Ahora Eres Color Azul Claro"); SetPlayerColor(playerid, 0x5884DF00); return 1; } if (strcmp("/ciam", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_CIAM,"Ahora Eres Color Ciam"); SetPlayerColor(playerid, 0x03F2FFFF); return 1; } if (strcmp("/azulmarino", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_AZULMARINO,"Ahora Eres Color Azul Marino"); SetPlayerColor(playerid, 0x0065FE00); return 1; } if (strcmp("/azuloscuro", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_AZULOSCURO,"Ahora Eres Color Azul Oscuro"); SetPlayerColor(playerid, 0x090D5900); return 1; } if (strcmp("/celeste", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_CELESTE,"Ahora Eres Color Celeste"); SetPlayerColor(playerid, 0x058AFFFF); return 1; } if (strcmp("/purpura", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_PURPURA,"Ahora Eres Color Purpura"); SetPlayerColor(playerid, 0x9A03FFFF); return 1; } if (strcmp("/violeta", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_VIOLETA,"Ahora Eres Color Violeta"); SetPlayerColor(playerid, 0x71416B00); return 1; } if (strcmp("/marron", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_MARRON,"Ahora Eres Color Marron"); SetPlayerColor(playerid, 0x6F491900); return 1; } if (strcmp("/rojooscuro", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_ROJOOSCURO,"Ahora Eres Color Rojo Oscuro"); SetPlayerColor(playerid, 0x98101200); return 1; } if (strcmp("/lima", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_LIMA,"Ahora Eres Color Lima"); SetPlayerColor(playerid, 0x4CB84900); return 1; } if (strcmp("/naranja", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_NARANJA,"Ahora Eres Color Naranja"); SetPlayerColor(playerid, 0xFF7403FF); return 1; } if (strcmp("/piel", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_PIEL,"Ahora Eres Color piel"); SetPlayerColor(playerid, 0xFFCC9900); return 1; } return 1; } public OnPlayerRequestSpawn(playerid) { new color; GetPlayerColor(playerid); SetPlayerColor(playerid,color); return 1; } |