i asked in the maps section, but they only answered me that gmod blocks the “point_clientcommand” from hammer.
its accually pretty simple what i need…
there s an area in the map, if the player walks into it, takes the players X Y Z coords… then with lua i add 500 units to Z and port the player to the new given coords…
it does work with a concommand, when i type “move_to_top” ingame in console:
local trigger_up = Vector(0, 0, 768) function move_to_top(player, commands, args) if player:IsAdmin() or player:IsSuperAdmin() then player:SetPos(player:GetPos() + trigger_up) end end concommand.Add("move_to_top", move_to_top)
but it wont let me trigger the concommand from hammer…
any ideas ?