Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward TpTest(playerid);
- public TpTest(playerid)
- {
- new Float: dx, Float: dy, Float: dz, Float: distance;
- GetPlayerPos(playerid, dx, dy, dz);
- distance = GetDistanceBetweenPoints(TpTestx[playerid], TpTesty[playerid], TpTestz[playerid],dx,dy,dz);
- if(distance > 300)
- {
- /*new string[128];
- format(string,sizeof(string), "AdmWarning: %s(id %d) is suspected to using teleport hack.",PlayerInfo[playerid][pNormalName], playerid);
- ABroadCast(COLOR_RED, string, 1);*/
- NightBot(playerid, "Cheats (teleport-hack) #2");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement