Hi,
I need an syntak like this !refund <Playername> <Amount>. I saw something on youtube with string.sub but I never can know how long a username is.
How can I solve this "problem"
And yeah, it isn't a concommand it is with the PlayerSay Hook.
You can also use this because Explode is extension in the "string" library:
local tCmd = (" "):Explode("playername amount")
print(tCmd[1]) -- playername
print(tCmd[2]) -- amount
Sorry, you need to Log In to post a reply to this thread.