[Ajuda] Como tiro a Anti-Tag ?
#1

#Removido
Reply
#2

Talvez no seu GM tenha Anti-Tag.
Reply
#3

Como tiro isso ?
Reply
#4

Se eu nгo me engano vocк terб que usar strfind.
Um exemplo:
pawn Код:
if(strfind("[SAMP]SirRafa", "[SAMP]", true) != -1)
{
    SendClientMessage(playerid,-1, "[SAMP]SirRafa contйm [SAMP]");
}
Reply
#5

Onde coloco? De certeza que й isso? '-'
Reply
#6

Coloque em OnPlayerConnect.
E tente entrar com o nick contendo [SAMP].
Entre com o nick [SAMP]SirRifa, ou troque pela variбvel que armazena o nome do jogador depois de pegar atravйs do GetPlayerName.
Reply
#7

@Edit
pawn Код:
public OnPlayerConnect(playerid)
{
if(strfind(PlayerName(playerid), "[SAMP]", true) != -1)
{
SendClientMessage(playerid, Vermelho, "Vocк foi kickado. Motivo: Uso de nick indevido.");
ShowPlayerDialog(playerid, 500, DIALOG_STYLE_MSGBOX,"[SAMP]", "Voce foi Kickado por usar TAG de outro server", "Fechar", "");
Kick(playerid);
}
Reply
#8

Isso ae й colocar Anti-Tag ? '-'
Eu quero tirar, e nгo colocar ...
Reply
#9

Quote:
Originally Posted by Alwe
Посмотреть сообщение
pawn Код:
public OnPlayerConnect(playerid)
{
if(strfind(PlayerName(playerid), "[SAMP]", false) != -1)
{
SendClientMessage(playerid, Vermelho, "Vocк foi kickado. Motivo: Uso de nick indevido.");
ShowPlayerDialog(playerid, 500, DIALOG_STYLE_MSGBOX,"[SAMP]", "Voce foi Kickado por usar TAG de outro server", "Fechar", "");
Kick(playerid);
}
Nгo seria true?
Й true, caso o player entrar e nгo estiver com a tag o server vai chuta-lo.
Reply
#10

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Nгo seria true?
Й true, caso o player entrar e nгo estiver com a tag o server vai chuta-lo.
Isso, obrigado por lembrar !! E desculpa pelo erro. Jб serб Editado !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)