• Issues with setpos
    3 replies, posted
I am trying to modify admin popups from gmod store to replace the spectate button with a tp to sit area code maybe use a table but am having issues with the noob:SetPos( Vector( 0,0,0 ) ) I have it so that when the button is press both the player and the admin will be sent to a certain position, but when this occurs the player and admin immediately return to their previous positions I am looking for any suggestions maybe another way of teleporting them to a set coordinate. If anybody also has a suggestion on how I might make a table of positions to tp them to so staff don't overlap in where they're are at if not its fine. cbu.DoClick = function() noob:SetPos( Vector( -2159, 191, 147 ) ) claimed:SetPos( Vector( -2159, 191, 147 ) ) end I cannot post full code due to it being someone elses addon.
You are setting their positions on client-side? Why don't you create a support ticket?
Setting a player's position with this function only works serverside SetPos You need to call it serverside
I am modifying it and he doesn't provide it and when I can get help here along with learn something it's nicer. Thanks I'll just setup a network for it.
Sorry, you need to Log In to post a reply to this thread.