- 919
- 218
Lua:
sampRegisterChatCommand("command", function(arg)
-- code
p1, p2, p3 = string.match(arg, "(%d+) (%s+) (%d+)")
sampAddChatMessage("p1 "..tonumber(p1)..", p2 "..p2..",p3 "..tonumber(p3),-1)
return {arg}
end)
Lua:
[01:44:43.427763] (error) .. attempt to concatenate a nil value