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

calling functions from the console


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   BAILOPAN (72)
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 04-03-2006 , 14:51   calling functions from the console
Reply With Quote #1

With this plugin you can call public functions from the console.
Now you are asking: Why do we need this?
Well, sometime you write functions that are doing something.
Then you have to test it, but for this you have to write an extra cmd.
Now you don't have to do this.
Just use this plugin and call the plugin from the console ;)

You need the ADMIN_RCON flag to execute this cmd.
For usage info read the comment in the sma

NOTE: YOU NEED AMXX 1.71 or above

Regards
Greenberet
Attached Files
File Type: sma Get Plugin or Get Source (callfunc.sma - 1767 views - 3.1 KB)
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-03-2006 , 14:54  
Reply With Quote #2

nice plugin, however please add some details as to what the command syntax must be. Also could you make the command require some sort of admin because we do not want anyone just going into my war3 server executing the give XP public function.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 04-03-2006 , 15:04  
Reply With Quote #3

Added ADMIN_RCON flag
for usage read the comment in the sma
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
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 23:49.


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