Problem - Try to make an transaction system

Hey there ! I tried to make an transaction system with the command /pay, i wrote the script, but when I type the command, it wrote on the chatbox, and i’ve got this error on the server console ;

Here you can find my cl and sv_files :


Hope i can solve it by myself ! :slight_smile:

1 Like

up someone have an idea ? :confused:

local args = stringsplit(message, " ") -- Split the message up into an array of words

This is why you shouldn’t just copy-paste code without understanding it :cry:

The function you’re calling (stringsplit) doesn’t exist. Hence the “Can not call a nil value.” error message.

I was inspired by the handcuff script, I belived that it was similar !
Thanks i’ll try it.

is this working?..