General > Developers Corner

Gag with pdata

(1/2) > >>

bender180:
Would anyone be interested in me posting code for a pdata enabled gag command? It would make it so gag'd players stay gag'ed after map changes server restarts or the player leaves and rejoins.

MrPresident:
Go for it! Persistent gag could be useful for some people.

sabo:
That sounds great, but thinking about it in a long term I see a couple problems along with it.


Example: People forgetting that they muted someone...

I dont want to sound greedy lol but would you be able to add a Time + Reason to this?

Reason is not that important but I think the timer is mandatory.

bender180:

--- Quote from: sabo on September 30, 2013, 01:14:03 PM ---That sounds great, but thinking about it in a long term I see a couple problems along with it.


Example: People forgetting that they muted someone...

I dont want to sound greedy lol but would you be able to add a Time + Reason to this?

Reason is not that important but I think the timer is mandatory.

--- End quote ---

ive never worked with timers before but i might be able to save a date and time and make it void after a certain time has passed

JamminR:
Plenty of examples exist in ULX and the releases section of ways to store time.

Navigation

[0] Message Index

[#] Next page

Go to full version