PatriotJGRP
New member
- Joined
- Jan 26, 2025
- Messages
- 1
- Reaction score
- 0
function sampev.onServerMessage(color, msg_text)
local pattern = "Use '/accept taxi (%d+)' to accept the taxi order!"
local code = string.match(msg_text, pattern)
if code then
sampSendChat("/accept taxi " .. code)
end
end
i was thinking to make cleo ver, but since you made no need.@PatriotJGRP
JSON:function sampev.onServerMessage(color, msg_text) local pattern = "Use '/accept taxi (%d+)' to accept the taxi order!" local code = string.match(msg_text, pattern) if code then sampSendChat("/accept taxi " .. code) end end