Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:dara4413(playerid, params[])
- {
- new string[126];
- new ID,ADMIN;
- if(PlayerInfo[playerid][jAdminNvl] < 6) return 0;
- if(sscanf(params, "dd", ID,ADMIN)) return SendClientMessage(playerid,COLOR_WHITE,"Uso: /dara [id] [nivel]");
- else if(!IsPlayerConnected(ID)) return SendClientMessage(playerid,COLOR_WHITE,"Jugador no conectado");
- else
- {
- if(ADMIN == 0)
- {
- format(string, sizeof(string), "%s expulsaste del Staff a %s", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 0;
- }
- if(ADMIN == 1)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Ayudante del Canal de Dudas.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Ayudante en el Canal de Dudas (1).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 1;
- }
- if(ADMIN == 2)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Moderador del Canal de Dudas.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Moderador del Canal de Dudas (2).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 2;
- }
- if(ADMIN == 3)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Moderador del Juego.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Moderador del Juego (3).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 3;
- }
- if(ADMIN == 4)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Moderador Global.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Moderador Global (4).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 4;
- }
- if(ADMIN == 5)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Administrador.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Administrador (5).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 5;
- }
- if(ADMIN == 6)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Sub Dueño.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Sub Dueño (6).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 6;
- }
- if(ADMIN == 7)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Dueño.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Dueño (7).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 7;
- }
- if(ADMIN == 8)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Sub-Fundador.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Dueño (8).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 8;
- }
- if(ADMIN == 9)
- {
- format(string, sizeof(string), "¡Felicitaciones! %s te ha asignado Fundador general papuh.", NombreJugador(playerid), ADMIN);
- SendClientMessage(ID,0x2AFF0000, string);
- format(string, sizeof(string), "%s has hecho a %s Owner (9).", NombreJugador(playerid), NombreJugador(ID));
- SendClientMessage(playerid,0x2AFF0000, string);
- Log("logs/daradmin.log", string);
- PlayerInfo[ID][jAdminNvl] = 9;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement