Ulysses

General => Developers Corner => Topic started by: Rice Cooker on July 20, 2019, 06:33:30 PM

Title: Prop Flagging
Post by: Rice Cooker on July 20, 2019, 06:33:30 PM
Hello!

I was wondering if there was a way to flag someone spawning a specific prop multiple times and it to notify staff.

Ex:
Player1 is spawning wheel # times.

Player1 is then flagged and staff is notified

Admin Notification: Player1 has spawned the same prop more that # times.
Please spectate them to ensure they are not attempting to crash the server.
Title: Re: Prop Flagging
Post by: JamminR on July 20, 2019, 07:07:55 PM
It's my understanding many prop protection scripts already do this. You could examine their code for ideas.
If looking to totally start on your own, you could start with;
(http://wiki.garrysmod.com/favicon.ico) SANDBOX:PlayerSpawnProp (http://wiki.garrysmod.com/page/SANDBOX/PlayerSpawnProp)