Forum > Coding >

api.SendLimitedLuaScript(richTextBox1.Text); error

Posts: 8

Threads: 2

Joined: Sep, 2021

Reputation: 0

Posted

I'm currently trying to make an executor with wearedevs api. The code: "api.SendLimitedLuaScript(richTextBox1.Text);" got an error said it was obsolete and replace with SendLuaScript. What do i do?
(I'm a newbie coder btw)

  • 0

hookfunction

fake wumat

vip

Posts: 119

Threads: 15

Joined: Aug, 2021

Reputation: 18

Replied

make it 

api.SendLuaScript(richTextBox1.Text);

instead

  • 0

                                                                        https://cdn.discordapp.com/attachments/909012795851407390/927492917394821140/siggy.png

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

Read the error. It literally tells you everything you need to do.

  • 0

Posts: 8

Threads: 2

Joined: Sep, 2021

Reputation: 0

Replied

turns out that i have to add [Obsolete] on the command ;-;

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@hahagetnoob I don't recommend using deprecated functions. Use SendLuaScript as said before. 

  • 0

Posts: 8

Threads: 2

Joined: Sep, 2021

Reputation: 0

Replied

ok thank you

  • 0

Users viewing this thread:

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