[HELP] simple script not working

Hey guys! Can you help pls. I’m trying to create simple script to change player position on command, but it’s not working. What i am doing wrong? Here’s the source:

server.lua
AddEventHandler(‘chatMessage’, function(source, n, message)
local args = stringsplit(message, " ")
if (args[1] == “/test”) then
print(“test”)
TriggerClientEvent(‘test’)
end
end)

function stringsplit(self, delimiter)
local a = self:Split(delimiter)
local t = {}

for i = 0, #a - 1 do
table.insert(t, a[i])
end

return t
end

client.lua
RegisterNetEvent(‘test’)
AddEventHandler(‘test’, function()
SetEntityCoords(GetPlayerPed(-1), 50.00, 400.00, 10.00)
end)

solved.

number 1 in line 5 from server side

TriggerClientEvent(‘test’, source)

You must write the player source or -1 for all players after event name

number 2 in line 3 client side
I take this function from vMenu

--[[
    i don't now this is will be work or not but try it
]]
local x, y, z = 50.00, 400.00, 10.00
-- Request collision at the coord. I've never actually seen this do anything useful, but everyone keeps telling me this is needed.
-- It doesn't matter to get the ground z coord, and neither does it actually prevent entities from falling through the map, nor does
-- it seem to load the world ANY faster than without, but whatever.
RequestCollisionAtCoord(x, y, z);

-- Request a new scene. This will trigger the world to be loaded around that area.
NewLoadSceneStart(x, y, z, x, y, z, 50.0, 0);

SetEntityCoords(PlayerPedId(), x, y, z, 0, 0, 0, true)