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?
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?