pawn Код:
//•~•~•~•~•~•~•~•~•~•~•~•~•~( Equipe_xD )•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~//
// Criado Por Tiger_xD !! Nao Retira os Creditos !!
// Criado Por Tiger_xD !! Nao Retira os Creditos !!
// Criado Por Tiger_xD !! Nao Retira os Creditos !!
//•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~//
//•~•~•~•( include )•~•~•~•~//
#include <a_samp>
//•~•~•~•~( New )•~•~•~•~•~//
#define COLOR_AZUL 0x0019FFFF
#define MSGPLAYER SendClientMessage
//•~•~•~•~•~•~( New )•~•~•~•~•~•~//
new gstring[128];
//•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~//
public OnFilterScriptInit()
{
print("\n(•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~)");
print(" Sistema Criado Por Tiger_xD");
print("(•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~)\n");
return 1;
}
//•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~//
public OnFilterScriptExit()
{
print("\n(•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~)");
print(" Sistema Criado Por Tiger_xD");
print("(•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~)\n");
return 1;
}
//•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~//
public OnPlayerConnect(playerid)
{
if(strfind(PlayerName(playerid), "_", true) == -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "]", true) != -1 || strfind(PlayerName(playerid), "lixo", true) != -1 || strfind(PlayerName(playerid), "buceta", true) != -1 || strfind(PlayerName(playerid), "caralho", true) != -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "server", true) != -1
|| strfind(PlayerName(playerid), "servidor", true) != -1 || strfind(PlayerName(playerid), "crash", true) != -1 || strfind(PlayerName(playerid), "bpl", true) != -1 || strfind(PlayerName(playerid), "gamerx", true) != -1 || strfind(PlayerName(playerid), "[", true) != -1 || strfind(PlayerName(playerid), "189", true) != -1 || strfind(PlayerName(playerid), "201", true) != -1 || strfind(PlayerName(playerid), "200", true) != -1 || strfind(PlayerName(playerid), ".", true) != -1
|| strfind(PlayerName(playerid), "*", true) != -1 || strfind(PlayerName(playerid), "(", true) != -1 || strfind(PlayerName(playerid), ")", true) != -1 || strfind(PlayerName(playerid), "@", true) != -1 || strfind(PlayerName(playerid), "amx", true) != -1 || strfind(PlayerName(playerid), "prn", true) != -1 || strfind(PlayerName(playerid), "__", true) != -1)
{
MSGPLAYER(playerid, COLOR_AZUL, "Vocк Foi Kickado por usar algum nome incorreto!");
MSGPLAYER(playerid, COLOR_AZUL, "Seu nome deve ser no formato Nome_Sobrenome");
MSGPLAYER(playerid, COLOR_AZUL, "Troque-o e volte, Obrigado.");
Kick(playerid);
fremove(gstring);
return 1;
}
return 1;
}
//•~•~•~•~•~•~•~•~•~•~•~•~•~•~/
stock PlayerName(playerid)
{
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
return Name;
}
//•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~//