Funciona pero dice que no existe
#3

Prueba asi.

Код:
CMD:mutear(playerid, params[])
{
    if(Informacion[playerid][Nivel] >= 2)
	{
    	if(Informacion[playerid][Logeado] == 0) return Error(playerid, 11);
    	if(Informacion[playerid][Espiando] == 1) return SendClientMessage(playerid, COLOR_AZUL, "[ERROR]: {FFFFFF}El usuario ya estб callado!");
		new string[128];
		if(sscanf(params, "us[64]", params[0], params[1])) return SendClientMessage(playerid, COLOR_AZUL, "[ERROR]: {FFFFFF}Uso: /Mutear [ID] [RAZON]");
  		if(!IsPlayerConnected(params[0])) return Error(playerid, 0);
    	Informacion[params[0]][Muteado] = 1;
    	format(string, sizeof(string), "{375FFF}[INFO]: {FFFFFF}El administrador {375FFF}%s {FFFFFF}ha muteado a %s [RAZON: %s].", aNombre(playerid), pNombre(params[0]), params[1]);
		SendClientMessageToAll(-1, string);
		format(string, 256, "{FFFFFF}El administrador {375FFF}%s {FFFFFF}te muteу [RAZON: %s].\nSi crees que fuй injusto, toma fotos con F8 y subelas al foro.", aNombre(playerid), params[1]);
		ShowPlayerDialog(params[0], 2, DIALOG_STYLE_MSGBOX, "{FFFFFF}Muteado por un {FF0000}administrador", string, "Cerrar", "");
    	MensajeAdminsCMD(playerid,"CALLAR");
	}
    return 1;
}
Reply


Messages In This Thread
Funciona pero dice que no existe - by Matyaas - 23.06.2017, 06:44
Respuesta: Funciona pero dice que no existe - by Matyaas - 23.06.2017, 23:21
Re: Funciona pero dice que no existe - by BrianFaria - 24.06.2017, 00:41
Re: Funciona pero dice que no existe - by Dance94 - 24.06.2017, 04:18
Respuesta: Re: Funciona pero dice que no existe - by Matyaas - 24.06.2017, 06:57
Re: Respuesta: Re: Funciona pero dice que no existe - by Dance94 - 24.06.2017, 07:21
Respuesta: Funciona pero dice que no existe - by Matyaas - 25.06.2017, 07:58
Respuesta: Funciona pero dice que no existe - by Tirael - 25.06.2017, 18:07
Respuesta: Funciona pero dice que no existe - by Matyaas - 26.06.2017, 03:42
Respuesta: Funciona pero dice que no existe - by ErickV - 26.06.2017, 04:07

Forum Jump:


Users browsing this thread: 1 Guest(s)