Categories > Exploiting > WRD Exploit API >

How would i use set_fps_cap() to create a button that sets a custom fps cap?

Posts: 6

Threads: 2

Joined: Feb, 2023

Reputation: 0

Posted

How would i use set_fps_cap() to create a button that sets a custom fps cap? because im using the WRDPI to make a custom executor and i wanna make a button that sets a custom fps cap. 

  • 0

Posts: 4

Threads: 0

Joined: Feb, 2023

Reputation: 0

Replied

@RealNickk, I doubt he'll actually understand what you're saying lol

  • 0

Added

It's pretty simple anyway, since wearedevs api itself has built in set_fps_cap function, just execute it via SendLuaScript method.

 

Example: 

wrd.SendLuaScript("set_fps_cap(120)");

 

for more information check out:

https://wearedevs.net/d/Exploit%20API

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@RealNickk, you dont need complex stuff

 

set_fps_cap is already done in whichever DLL youre using so just call your pipe to execute set_fps_cap(144)

  • 0

Posts: 6

Threads: 2

Joined: Feb, 2023

Reputation: 0

Replied

Thanks to everyone that helped me. i will use whatever works for me

  • 0

Added

@RealNickk so somthing like "module.SendLuaScript(set_fps_cap(300));". How do i fix "The name set_fps_cap does not exsist in the current context"?

  • 0

Added

@RealNickk How would i do that?

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )