AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [help]kick on a certain fps number (https://forums.alliedmods.net/showthread.php?t=82671)

jaaaalot 12-27-2008 14:59

[help]kick on a certain fps number
 
i want i simple code to slay/kick player
if is fps higher than 100

anakin_cstrike 12-27-2008 15:07

Re: [help]kick on a certain fps number
 
http://forums.alliedmods.net/showthr...t=get_user_fps

(loop trough all players every x seconds, or in prethink)

jaaaalot 12-27-2008 15:42

Re: [help]kick on a certain fps number
 
I ALready found it accurate i tried it and it slayed me for having 99 fps
, i did that if u got more than 103 fps u got slayed

Exolent[jNr] 12-27-2008 16:18

Re: [help]kick on a certain fps number
 
Make sure you test on a server that isn't running on your computer.

Spunky 12-27-2008 21:47

Re: [help]kick on a certain fps number
 
Quote:

Originally Posted by jaaaalot (Post 734129)
i want i simple code to slay/kick player
if is fps higher than 100

I hope you don't plan to use that on a server. A lot of people run higher than 100 fps. -_-

One 12-27-2008 22:14

Re: [help]kick on a certain fps number
 
Hey,

lol ? im using 400 fps ?!? for what this shit?

danielkza 12-27-2008 22:33

Re: [help]kick on a certain fps number
 
Quote:

Originally Posted by farzad (Post 734266)
Hey,

lol ? im using 400 fps ?!? for what this shit?

He probably doesn't want people benefiting for extra FPS on LJ/KZ maps.

@ OP: You should ask the player first if they agree, than set fps_max 100 on them, and check the FPS at least more than once before kicking them. This way nobody will get their settings messed up without knowing, and you won't kick anyone who reached 101fps for a single second.

Spunky 12-28-2008 00:34

Re: [help]kick on a certain fps number
 
I'm pretty sure if you set fps_max 100, they can't go above whatever you set, even for a second.

jaaaalot 12-28-2008 02:12

Re: [help]kick on a certain fps number
 
im using it for a kz jumping srv. numb lj plugin is old and some people found a way to cheat and put higher than 100fps

danielkza : i will set ask them if they agree then check 5 times if the fps higher than 105

One 12-28-2008 02:17

Re: [help]kick on a certain fps number
 
Hey,

oh ok, i think a plgin with error message is not bad.

the players with over 100 fps, will be become a message ( can be a hudmessage ) to turn fps under 100 or in 1.min kick :) somthing like this.or maybe :

PHP Code:

    client_cmd(id,"fps_max 100")
    
client_cmd(id,"devlopper 0"

??


All times are GMT -4. The time now is 09:18.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.