Why is your code a .dat file??
Of course everyone gets slayed, cause he changed the task delay from 1.0 to 5.0 which results in players having (about) "500 fps", you can't reset a variable that counts something PER SECOND every 5 seconds..
PHP Code:
set_task(5.0, "ShowFps",id+DEVELOPER_OFFSET, _, _, "b");
->
PHP Code:
set_task(1.0, "ShowFps",id+DEVELOPER_OFFSET, _, _, "b");
This
PHP Code:
if(get_user_flags(id) & ADMIN_RCON)
ChatColor(0, "Player !g%s!t slayed for using more fps than allowed(100)",name)
does not do what he asked, that prints a message to EVERYONE (since the index is set to 0) when someone with ADMIN_RCON level had been slayed
This is just ridiculous..
PHP Code:
else
ChatColor(id, "!g%s!t slayed for using more fps than allowed(100)",name)
ChatColor(id, "!g%s!t slayed for using more fps than allowed(100)",name)
ChatColor(id, "!g%s!t slayed for using more fps than allowed(100)",name)
ChatColor(id, "!g%s!t slayed for using more fps than allowed(100)",name)
ChatColor(id, "!g%s!t slayed for using more fps than allowed(100)",name)