Raised This Month: $32 Target: $400
 8% 

Rcon on the fly...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 10-13-2005 , 21:13   Rcon on the fly...
Reply With Quote #1

Hey.

Im trying to create console commands at runtime but im not having much luck.

Has anyone tried this ?
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
BAILOPAN
Join Date: Jan 2004
Old 10-13-2005 , 21:34  
Reply With Quote #2

I answered this to you on IRC, but look at what SourceMod did. All you need to do is make one big generic class, then keep registering it with new names.

To make it compatible with MM:S's cvar unloading stuff, you could also allocate a new command at runtime.
__________________
egg
BAILOPAN 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 16:35.


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