[Pedido] Sistema de Anti Ban pelo nick - 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: [Pedido] Sistema de Anti Ban pelo nick (
/showthread.php?tid=537574)
Sistema de Anti Ban pelo nick -
Mxmaicon - 16.09.2014
Falae galera sou novo no forum, e Gostaria de pedir um sistema de anti ban, pelo Nick podem me ajudar ? vlw
Re: Sistema de Anti Ban pelo nick -
zRan - 16.09.2014
Anti-ban?
Do tipo "Alguйm tenta banir um outro alguйm, e vai banido por ter tentado banir"?
Re: Sistema de Anti Ban pelo nick -
RiqueP - 16.09.2014
Acho que ele quer que nгo de pra banir certo nick.
Manda o seu comando /ban ai nй fera
Re: Sistema de Anti Ban pelo nick -
ipsLuan - 16.09.2014
Acho melhor vocк dб mais informaзхes.
Re: Sistema de Anti Ban pelo nick -
Mxmaicon - 16.09.2014
Malz ae galera , tava na escola So quero um sistema de tipo, se alguem quizer me banir nao tera como, quero que meu nick seja impossivel de banir
Код:
if(strcmp("/ban", cmd, true) == 0)
{
if(pAdmin[playerid] > 0)
{
new plid, motivo[64];
if(sscanf(cmdtext, "s[5]us[64]", cmd, plid, motivo))
{
SendClientMessage(playerid, Cinza, "Use: /ban [id] [motivo]");
return 1;
}
if(IsPlayerConnected(plid))
{
if(IsPlayerNPC(plid))
{
SendClientMessage(playerid, Vermelho, "Vocк nгo pode fazer isso com um NPC.");
return 1;
}
ClearChatbox(plid, 3);
VBanID(playerid, plid, motivo);
}
else
{
SendClientMessage(playerid, Vermelho, "Valor invбlido, tente novamente!");
}
}
else
{
SendClientMessage(playerid, Vermelho, "Vocк nгo tem permissгo.");
}
return 1;
}