Jump to content

Search the Community

Showing results for tags 'who looks at these'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Community News & Announcements
    • Community Announcements
    • Community Rules
    • Community Changelog
  • Community Hub
    • Introductions
    • General Discussions
    • Random Discussions
    • Development & Programming
    • Community Issues & Suggestions
    • Media
    • Development Team Applications
    • Support Hub
    • IG Servers Application Hub
  • GMOD | Imperial RP
    • Important Information
    • Applications
    • Community Area
    • Bans & Staff Reports
  • Minecraft | Star Wars Factions
    • Important Information
    • Applications
    • Minecraft Events
    • Community Area

Product Groups

There are no results to display.


  • Website Development with Emu

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me


Found 1 result

  1. Hey everybody, Since I became the RG Commander, I have noticed that if we want to change from our battle armour to our robes, we need to call staff and waste there time. To fix this, I have written a small, lightweight script that can be put in the servers serverside autorun that allows people to switch between their battle armor and robes using a simple chat command !switch. The addon has been made in such a way that other regiments can be added with minimal effort. Thanks for considering this @Martibo @Caboose and @Wolf. The code is as follows and should be placed in garrysmod\lua\autorun\server: local SwitchPairs = { {"models/player/starwars/mistersweetroll/imperialguard.mdl","models/player/ven/guard.mdl"}, // just add a pair of models here } local SwitchTable = {} for k,v in pairs(SwitchPairs) do table.insert(SwitchTable,0,v) table.insert(SwitchTable,0,table.Reverse(v)) end hook.Add("PlayerSay","SwitchModel",function (ply,txt) if string.lower(txt) == "!switch" then for k,v in pairs(SwitchTable) do if ply:GetModel() == v[1] then ply:SetModel(v[2]) return "" end end end end)
  • Create New...