Help with /911 command

I’m trying to add a street location to a /911 command, here is what I have so far.

AddEventHandler(‘chatMessage’, function(source, name, msg)
sm = stringsplit(msg, " “);
if sm[1] == “/911” then
CancelEvent()
TriggerClientEvent(‘chatMessage’, -1, “^1911 - | " … name, “^7Location:^3” … streetname, “^7Crime:” { 255, 0, 0 }, string.sub(msg,5))
end
end)
function stringsplit(inputstr, sep)
if sep == nil then
sep = “%s”
end
local t={} ; i=1
for str in string.gmatch(inputstr, “([^”…sep…”]+)”) do
t[i] = str
i = i + 1
end
return t
end