Getting server FPS?Solved
Hey,

I wanna make an "if statement" something like this:

if (server.fps < 100)
{
//Stuff here
}


How can I do that?

Best regards,
SkillerFreak
This is what I use to get the server FPS:

Performance.report.frameRate​
Is that the error from your IDE?
In response to Freakyy ():
This is the error when I compile the plugin.

Merged post


https://gyazo.c...
You're missing an assembly reference as the error suggest; ie. you need to add the using statement for that particular method/field.
In response to Wulf ():
You're missing an assembly reference as the error suggest; ie. you need to add the using statement f...
Hey, 

this might sound stupid. But I tried my best and I still couldn't get it to work. Is there any way you can help me?

Thank you 
In response to Freakyy ():
Hey, 

this might sound stupid. But I tried my best and I still couldn't get it to work. I...
Download JustDecompile > Open up Rust's Assembly-CSharp.dll in JustDecompile > Search for "serverfps" > Look at the namespace for that > Add that namespace as a using statement in your plugin.
Locked automatically