Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- public OnPlayerConnect(playerid)
- {
- new Nome[MAX_PLAYER_NAME];
- GetPlayerName(playerid, Nome, sizeof(Nome));
- if(strfind(Nome, "con", true) != -1 || strfind(Nome, "com", true) != -1 || strfind(Nome, "ipt", true) != -1 || strfind(Nome, "bat", true) != -1 || strfind(Nome, "taws", true) != -1 || strfind(Nome, "Clock$", true) != -1 || strfind(Nome, "stust", true) != -1
- || strfind(Nome, "sup", true) != -1 || strfind(Nome, "sup", true) != -1|| strfind(Nome, "exe.", true) != -1 || strfind(Nome, "nul", true) != -1|| strfind(Nome, "aux", true) != -1 || strfind(Nome, "nbstat", true) != -1 || strfind(Nome, "prn", true) != -1)
- {
- SetPlayerName(playerid, "Sistema_de_Protecao");
- SendClientMessage(playerid, 0xFF0000AA, "[Fly-Protector]{FFA500} Você foi banido por tentativa de congelamento do servidor.");
- BanEx(playerid,"Proteção Contra nome proibidos.");
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement