Categories > Coding > Lua >
Need help with my exploit
Posted
i want to make a numeric up down to choose the api.setwalkspeed, but i dont know how to make that code, can anyone help??https://imgur.com/a/CEEKGAy
Replied
you should check the method args by pressing ctrl and click on the method
or i think you cant set others players walkspeed so yeah u prob just need int :/
edit:
oh sorry im blind :/
private void numericUpDown1_ValueChanged(object sender, EventArgs e)
{
api.SetWalkSpeed((NumericUpDown(sender)).Value)
}
sorry if wrong lol im not touching c# in a age :/
Cancel
Post
Im netral, not evil, not too kind either.
Replied
api.SetWalkSpeed("me", numericUpDown1.Value);
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.numericupdown
Cancel
Post
Replied
neither worked :(, anyway thx for the answers
Cancel
Post
Replied
@cykaa Do remember that setwalkspeed is only called when the value in the NumericUpDown control has changed.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post