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

SourceMod Now Beta, Admin Plugins Starting


Post New Thread Closed Thread   
 
Thread Tools Display Modes
BAILOPAN
Join Date: Jan 2004
Old 06-09-2007 , 18:20   Re: SourceMod Now Beta, Admin Plugins Starting
#11

it can be anything but the "shortcut" version will only work if it's sm_
__________________
egg
BAILOPAN is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 06-09-2007 , 18:26   Re: SourceMod Now Beta, Admin Plugins Starting
#12

It'd be nice if I could get it for anything_* but sm_* is fine, I don't have a lot of functions that utilize it.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
BAILOPAN
Join Date: Jan 2004
Old 06-09-2007 , 18:30   Re: SourceMod Now Beta, Admin Plugins Starting
#13

That wouldn't be very good. What happens when two commands have different prefixes and the same chat trigger?
__________________
egg
BAILOPAN is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 06-09-2007 , 20:40   Re: SourceMod Now Beta, Admin Plugins Starting
#14

What happens when 2 plugins have the same sm_* command?

Anyway, I have the following
Code:
	RegConsoleCmd("sm_tkcount",Command_TKCount);
	RegConsoleCmd("sm_tacount",Command_TACount);
	RegConsoleCmd("sm_forgivetk",Command_ForgiveTK);
	RegConsoleCmd("sm_forgive",Command_ForgiveTK);
	RegConsoleCmd("sm_ftk",Command_ForgiveTK);
	RegConsoleCmd("sm_punishtk",Command_PunishTK);
	RegConsoleCmd("sm_punish",Command_PunishTK);
	RegConsoleCmd("sm_ptk",Command_PunishTK);
Just a note, I ditched my "ff" response in atac.

sm_tacountUnknown command: sm_tacount[ATAC] You have 0/999 team attacks.

it responds right, but it yeah you can see

also "/" commands only execute if trailed by a space.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers

Last edited by FlyingMongoose; 06-09-2007 at 21:32.
FlyingMongoose is offline
BAILOPAN
Join Date: Jan 2004
Old 06-09-2007 , 21:48   Re: SourceMod Now Beta, Admin Plugins Starting
#15

1) You get two outputs. Plugins are recommended not to double-up commands like this (if you do it's your own fault). Prefixes prevent this naturally, so adding the problem back in would be bad.

2) It sounds like you didn't return Plugin_Handled

3) Can you show an example that won't work?
__________________
egg
BAILOPAN is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 06-10-2007 , 13:13   Re: SourceMod Now Beta, Admin Plugins Starting
#16

Sorry for the stupid question. Is there any admin menu now?
exvel is offline
Send a message via ICQ to exvel
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 06-10-2007 , 13:26   Re: SourceMod Now Beta, Admin Plugins Starting
#17

No, but there will be very soon. Admin functionality is the current task being worked on.
__________________
sslice is offline
xlkiller
Member
Join Date: Jul 2004
Location: FRANCE
Old 06-13-2007 , 06:28   Re: SourceMod Now Beta, Admin Plugins Starting
#18

I have ready totest this beta version in multiple serveur, linux, Windows and multiple steam game.

Last edited by xlkiller; 06-13-2007 at 06:30.
xlkiller is offline
CrAzD
SourceMod Donor
Join Date: Jun 2007
Old 06-13-2007 , 20:23   Re: SourceMod Now Beta, Admin Plugins Starting
#19

possible bug?

sm_unban steamid_here

returns unknown command

sm_unban

returns how to use it..

very weird :/

-------
Question.. Were does it save the ids/ips to?
CrAzD is offline
BAILOPAN
Join Date: Jan 2004
Old 06-14-2007 , 00:56   Re: SourceMod Now Beta, Admin Plugins Starting
#20

Try using sm_who to see if you're an admin.
__________________
egg
BAILOPAN is offline
Closed Thread


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 10:27.


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