[Pedido] Deixar certo jogador entrar ! - 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] Deixar certo jogador entrar ! (
/showthread.php?tid=501690)
Deixar certo jogador entrar ! -
LucasPlays - 19.03.2014
Olб gente para nгo ter ataques de Cheaters eu queria um sistema de deixar sу a pessoa que eu liberei o nick entrar no server , acho que isso ia diminuir os Cheaters 
.
Alguem me passa uma base ?
Re: Deixar certo jogador entrar ! -
shittt - 19.03.2014
Код:
if(strfind(Nome(playerid),"Nome",true) != -1) //define o nome do bot
{
Ban(playerid);//dar ban no bot ao tentar conectar no servidor
}
stock Nome(playerid) //define o comando da palavra nome ( if(strfind(Nome )
{
new name[MAX_PLAYER_NAME]; //define variavel name
GetPlayerName(playerid, name, sizeof(name)); // pega o nick do player
return name;// retorna a "name"
}
by : Dj_Paradox
Topico
Re: Deixar certo jogador entrar ! -
LucasPlays - 19.03.2014
Obrigado