Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Adauga la OnDialogResponse
- {
- for(new i; i < sizeof(antisqlinjection); i++)
- {
- if(strfind(inputtext, antisqlinjection[i], true) != -1)
- {
- return 1;
- }
- if(strfind(inputtext, "%", true) != -1)
- {
- new flooder[MAX_PLAYER_NAME];
- new string10[100];
- GetPlayerName(playerid, flooder, sizeof(flooder));
- format(string10, sizeof(string10), "Kick: %s has been kicked by AdmBot, reason: Probably flood", flooder, playerid);
- SendClientMessageToAll(COLOR_LIGHTRED, string10);
- KickEx(playerid);
- return 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement