1. I wanna get server fps for information. Like that

    string Frames = ConsoleSystem.Run(ConsoleSystem.Option.Server,string Server.fps);
    Puts("FPS:" + Frames);

    But its not work :c
    [DOUBLEPOST=1509704639][/DOUBLEPOST]@Wulf if you are not too busy can you help me a bit?
     
  2. server.fps give you infos about FPS no?
     
  3. it gives and error
     
  4. Which error?
     
  5. [Error] Test.cs(17,19): error CS0103: The name `server' does not exist in the current context
    [DOUBLEPOST=1509706235][/DOUBLEPOST]
    Code:
    string Frames = server.fps;
    [Error] ServerTracker.cs(17,19): error CS0103: The name `server' does not exist in the current context
     
  6. Disabled your plugin, then try again this command.

    There is a default command to see FPS like the command you typed.
     
  7. Code:
    string Frames = ConsoleSystem.Run(ConsoleSystem.Option.Server, "server.fps");
    [Error] Test.cs(17,33): error CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected
    [DOUBLEPOST=1509706322][/DOUBLEPOST]
    i know how that commad works.But i need to get fps to plugin(wanna make statistics plugin)
     
  8. Code:
    oxide.unload Test
    What this command return?
    [DOUBLEPOST=1509706408][/DOUBLEPOST]
    Haaaan ok sorry.

    You need to see on Rust Developement not Rust Discussion.

    They can help you :)
     
  9. plugin ist loading.it returns nothing
     
  10. There is a problem if this plugin wasn't loaded and return error like you said :/
     
  11. Code:
    int FPS = Performance.current.frameRate;
    Or the average if your feeling a bit, average ;)
    Code:
    int averageFPS = Performance.current.frameRateAverage