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

[Help] 3 Things


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 04-27-2012 , 18:44   [Help] 3 Things
Reply With Quote #1

im making a plugin, and i need 2 things.
1. im using a timer any 60 seconds/round_start hook that will check if there are admin in the server, if yes it will do something, else it will do something else.
how im checking if there is admin with admflag_generic? and if it will i can do something?
2. im making a command, that if im doing sm_ct 1 it will do something, and if sm_ct 0 something else, i never used arguments and didnt tried, i can have a guide or an public example? also if there are not args it will do something else.
3. how to make that to do something to SOURCETV and not to bots? if i can do only for both its ok, because i want to spectate the sourcetv any round and i dont know how to target it.

Thanks!
__________________
retired

Last edited by shavit; 04-27-2012 at 19:00.
shavit is offline
 


Thread Tools
Display Modes

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 16:23.


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