• My Mini-Lua-Question Thread
    3 replies, posted
Hey, I have a few small and short questions regarding gmod Lua. 1. How would I change a team's/player's spawn point through Lua? 2. How would I get someones position on the map in game via command and through Lua? 3. How would I remove the "X" at the top right from a derma panel? 4. How would I add a feature to my gamemode that requires people to wait x amount of seconds after they die and then press SPACE to respawn? Thanks for the help in advance!
1) Look into PlayerSelectSpawnpoint hook 2) Player:GetPos(), or getpos console command for yourself 3) DFrame:ShowCloseButton( false ) 4) Look into GM:DeathThink hook
If i wanted to make a top down view what lua code would i look for?
[QUOTE=jay3021;47160523]If i wanted to make a top down view what lua code would i look for?[/QUOTE] Look into CalcView.
Sorry, you need to Log In to post a reply to this thread.