• 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!

Lua String split params problem on TFS 1.0

Guiaki

Member
Joined
Jan 3, 2011
Messages
137
Reaction score
8
I have been trying to use split in talkaction parameters but it don't work, here are what I have tried:
string.explode(param, ",")
That is the inicial issue, it gives an error, so I changed to:
param:split(",")
as sugested by @Ninja but it didn't worked, I also tried:
string.split(param, ", ")
and finally
split(param, ", ")

What Iam trying to do in order to test it is:
doPlayerPopupFYI(cid, "First Param: "..t[1].." and second: "..t[2])

just reminding, all of those lines previously shown are returning their value to t (t=string.expode)

Any idea?
 
Back
Top