• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Error "IsInArray" TFS 1.5 - Downgrade

Fabi Marzan

Well-Known Member
Joined
Aug 31, 2020
Messages
135
Solutions
6
Reaction score
67
I have been implementing a training exercise for 8.60, when trying it I get an "IsIn Array" error...
Screenshot_50.png

I have another server that is TFS 1.3 - Downgrade and it works perfectly, I don't know what I have to add to 1.5 to make it work, since the base is new.
 
use table.contains instead

isInArray should be in your compat.lua for backwards compatibility thought:
I checked and it already brought the function, but it keeps throwing me an error.
Screenshot_51.png
Post automatically merged:

EDIT: Thanks, fixed, I had an oversight that had to activate it.
I thought the base had it activated. Thanks for answering


Screenshot_52.png
 
Last edited:
Back
Top