Most of the anti-hacks today are self-scripted. Because Pawn doesn't have some of the functions that is much more useful like in Squirrel, many Pawn scripters uses Timers and the
while() statement. I can't/won't give you the full script. Try to figure it out on your own.. Good Luck from here.