CapsAdmin / pac3

advanced avatar customization for garrysmod
GNU General Public License v3.0
205 stars 94 forks source link

Support the ability to apply/wear pacs serverside #1337

Open textstack opened 10 months ago

textstack commented 10 months ago

The current system for wearing pacs involves composing a table of parts clientside, which a user then sends to the server to be broadcasted to all other players. There's no easy way to make that same table entirely from the server's end to my knowledge.

If there was, say, a console command and/or function on the server's end to apply a pac to a player/entity from file, I'd find that super useful. It would certainly make applying pacs programmatically much easier.

pingu7867 commented 10 months ago

I think we won't be doing that. Forcing pacs on people is not a good idea, therefore it's not in the purview of official pac3. Make a code edit that uses the integration tools and put your own server's outfit presets in the edited pac code, similar to how the examples are stored.

https://github.com/CapsAdmin/pac3/wiki/PAC-in-gamemodes

Pretty sure you know how to make net messages to have players run code upon the request of the server.