[Ajuda] Trocar o server:unknown commando
#4

Nao deu esse dae que voce falou:
ja tentei umas 2 formas abaixo:
lembrando
uso ZCMD
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strlen(cmdtext) == 1)
	    return SendClientMessage(playerid, COLOR_RED, "{FF0000}[ERRO]{BEBEBE} O comando {FF0000}/ {BEBEBE}nгo й vбlido. Digite /ajuda para mais informaзхes.");
    new string[128];

	format(string,128,"{FF0000}[ERRO]{BEBEBE} O comando {FF0000}%s{BEBEBE} nгo й vбlido. Digite /ajuda para mais informaзхes.", cmdtext);
	SendClientMessage(playerid, COLOR_RED, string);
	format(string,128,"{FF0000}[Ajuda]{BEBEBE} Caso nгo encontrou o comando desejado. Use {FF0000}/senha{BEBEBE} e fale com uns de nosso Administrador.", cmdtext);
	SendClientMessage(playerid, COLOR_RED, string);
	return 1;
}
Код:
pъblico OnPlayerCommandPerformed (playerid, cmdtext [], sucesso) 
{ 
if (sucesso!) 
{ 
SendClientMessage (playerid, 0xFF0000FF, "Comando invбlido!"); 
} 
return 1; 
}
Reply


Messages In This Thread
@Delete - by Claude_StreeT - 12.09.2012, 14:00
Re: Trocar o server:unknown commando - by rjjj - 12.09.2012, 14:02
Re: Trocar o server:unknown commando - by Claude_StreeT - 12.09.2012, 14:06
Re: Trocar o server:unknown commando - by Claude_StreeT - 12.09.2012, 14:26
Re: Trocar o server:unknown commando - by .FuneraL. - 12.09.2012, 14:30
Re: Trocar o server:unknown commando - by Claude_StreeT - 12.09.2012, 14:33
Re: Trocar o server:unknown commando - by .FuneraL. - 12.09.2012, 14:34
Re: Trocar o server:unknown commando - by Claude_StreeT - 12.09.2012, 14:45
Re: Trocar o server:unknown commando - by @Riichard - 12.09.2012, 14:48
Re: Trocar o server:unknown commando - by Claude_StreeT - 12.09.2012, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)