ULX

Author Topic: Prop Flagging  (Read 613 times)

0 Members and 1 Guest are viewing this topic.

Offline Rice Cooker

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Prop Flagging
« 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.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8041
  • Karma: 383
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Prop Flagging
« Reply #1 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;
SANDBOX:PlayerSpawnProp
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming