Raised This Month: $ Target: $400
 0% 

Small plugin Request


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
NouveauJoueur
SourceMod Donor
Join Date: May 2009
Old 08-13-2009 , 09:22   Re: Small plugin Request
Reply With Quote #4

Is it possible to make a plugin that will target every player with X admin flags (or with their steam ID in a custom file if it's easier) at every round start ? Do not focus on the commands I showed you, I wont freeze someone every round, but basically I want the plugin to :

sm_customexec "sm_slap ; sm_burn"

In our Exemple, John Steam_0:1:1 has the player ID 3815 on the server robertSteam_0:1 and player ID 4025, they both have the custom flag 3 :

- Detect & List every flagged admins (for example with custom flag 3) by this way :
If steam ID is flagged => Get Player ID (the number you get when you connect to the server.
- Target them with commands into the cvar :
sm_slap #4025
sm_slap #3815
sm_burn #4025
sm_burn #3815

I know it may seems a bad method with a wierd logic (to a coder), but I'm not a coder so I don't know the most effective technicals you may use to get it work.
NouveauJoueur is offline
 



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 03:15.


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