Forum > Coding >

Syntax Question

Posts: 1

Threads: 1

Joined: Aug, 2018

Reputation: 0

Posted

I am current making an exploit using the API. I want to make a playsound button and have the user enter a audio ID, yet I do not know the proper syntax.

Would I do this:

int audioValue = Int32.Parse(textBox2.Text);
            api.PlaySoundInGame(audioValue);

or

int audioValue = Int32.Parse(textBox2.Text);
            api.PlaySoundInGame(assetid = audioValue);

Thanks!
  • 0

Users viewing this thread:

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