Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Updated 2020-12-17 | Rewiews: 143
- //Created by Vok3 | more: https://pastebin.com/u/Voke_Bass
- new ServerNames[][100] = { "www.sa-mp.com", "sa-mp.com", "sa - mp.com" };
- public OnPlayerText(playerid)
- {
- for(new tncc = 0; tncc < sizeof(ServerNames); tncc++)
- {
- if(strfind(text, ServerNames[tncc], true) != -1)
- {
- new String[150];
- format(String, sizeof(String), "[Anti-Cheat] Player %s was kicked out of the server!", /*GetPlayerName*/);
- SendClientMessageToAll(-1, String);
- Kick(playerid);
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement