SA-MP Forums Archive
[AJUDA] Desban - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Desban (/showthread.php?tid=246606)



[AJUDA] Desban - _Jizzy_ - 05.04.2011

Olб pessoal, eu estava a procura de um comando para desbanir um player, sem precisar mecher no samp.ban e atй mesmo reiniciar o server, alguem conheзe esse comando ? por favor eu ficaria muito grato, agradeзo desde


Re: [AJUDA] Desban - JonathanFeitosa - 05.04.2011

https://sampforum.blast.hk/showthread.php?tid=209912


Re: [AJUDA] Desban - LuxurioN™ - 05.04.2011

Quote:
Originally Posted by _Jizzy_
Посмотреть сообщение
Olб pessoal, eu estava a procura de um comando para desbanir um player, sem precisar mecher no samp.ban e atй mesmo reiniciar o server, alguem conheзe esse comando ? por favor eu ficaria muito grato, agradeзo desde
Leia as Regras!
"Utilizar o Sistema de Busca antes de abrir novos tуpicos."
Exemplo bбsico (strtok): (Nгo testado)
Код:
if(!strcmp(cmd, "/desbanir", true))
{
	new tmp[128], string[24];
	tmp = strtok(cmd, idx);
	if(!strlen(tmp)) return SendClientMessage(playerid,-1,"Use: /DesBanir [IP]");
	format(string, sizeof(string), "unbanip %s", tmp);
	return SendRconCommand(string);
}
Tуpico Trancado.