Does anyone know of a working /tpcoords command? Looked all over cant find one.
RegisterCommand("teleport", function(source, args, raw)
if ( args[2] == nil or args[3] == nil or args[4] == nil) then
print("Invalid values")
else
SetEntityCoords(GetPlayerPed(-1), args[2], args[3], args[4])
end
end, false)
Just paste this in client.lua?