How to restrict user groups from spawning in props
4 replies, posted
Hello everyone. I recently registered on this forum to get some help. I'm wondering how to restrict specific user groups (ulx) from spawning in props. If you help me that would be greatly appreciated. Thank you.
The easiest way would be to use an addon like [url=https://github.com/TeamUlysses/ups]UPS[/url] or [url=https://github.com/FPtje/Falcos-Prop-protection]Falcos Prop Protection[/url]. The manual way to do it would be to hook PlayerSpawnedProp, check if the player is a certain user group with ply:GetUserGroup(), and then loop through a table of blocked models and if it is one then prevent them from spawning the model.
[QUOTE=YourStalker;49450825]The easiest way would be to use an addon like [url=https://github.com/TeamUlysses/ups]UPS[/url] or [url=https://github.com/FPtje/Falcos-Prop-protection]Falcos Prop Protection[/url]. The manual way to do it would be to hook PlayerSpawnedProp, check if the player is a certain user group with ply:GetUserGroup(), and then loop through a table of blocked models and if it is one then prevent them from spawning the model.[/QUOTE]
I installed UPS and I don't think that's what I need, I could be doing it wrong though. Is there another addon that could disable prop spawning for everyone except specific ulx groups? Thank you for your suggestion though YourStalker I appreciate it man.
bump if anyone can help me out. Thanks.
It has been solved! Thank you. I solved it by using URS and set limit and prop count to 0 and the usergroup I wanted it to affect.
Sorry, you need to Log In to post a reply to this thread.