This include is created for San Andreas Multiplayer Community, this include detects a player who uses Teleport hacks, you can do what ever you want underneath OnPlayerTeleport callback, OnPlayerTeleport is called when the include detects a player who is using Fly hacks.
public OnPlayerTeleport(playerid, Float:distance)
{
SendClientMessage(playerid, -1, "You have been banned for using Teleport Hacks!");
return Ban(playerid);
}