Raised This Month: $51 Target: $400
 12% 

Radio Gag System


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
CT_Spawn
Junior Member
Join Date: Apr 2024
Old Yesterday , 11:40   Radio Gag System
Reply With Quote #1

Radio Gag System

Description:
  • This plugin is to silence annoying people who spam radio messages (note that the plugin does not depend on a database, it only works once per map)

Commands Usage:
  • amx_rgag <nick | authid | #userid> (for gag radio spammer by name or steamid or 'userid but use # before userid' )
  • amx_ip_rgag <ip> (for gag radio spammer by ip)
  • amx_unrgag <nick | authid | #userid> (for ungag radio user by name or steamid or 'userid but use # before userid' )
  • amx_ip_unrgag <ip> (for ungag radio user by ip)
Video:


Screenshot:


Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	12
Size:	49.0 KB
ID:	204162  
Attached Files
File Type: sma Get Plugin or Get Source (radio_gag.sma - 12 views - 7.5 KB)
File Type: zip cstrike (addons and sounds).zip (27.0 KB, 6 views)

Last edited by CT_Spawn; Yesterday at 11:52.
CT_Spawn is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old Yesterday , 23:05   Re: Radio Gag System
Reply With Quote #2

good idea but poorly executed
very hardcoded and i recommend browsing the web api and in this case reading about Trie array...
https://www.amxmodx.org/api
https://forums.alliedmods.net/showthread.php?t=201872
and since youre blocking `STEAM_ID_LAN` and `localhost` where this only happens when youre running a lan server than theres a function that detects just that `is_dedicated_server`
__________________
bigdaddy424 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode