Raised This Month: $ Target: $400
 0% 

Task Asking stuff


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-06-2005 , 22:48  
Reply With Quote #2

You mean somethin like this?
Code:
//Invisible User #include <amxmodx> public plugin_init() {     register_plugin("Invisible user","0.1","blah")         register_clcmd("invis","function")     register_clcmd("reminvis","function1_rem_task")         register_clcmd("invis2","function2")     register_clcmd("reminvis2","function2_rem_task") } #define FUNC1_TASKID    2309 #define FUNC2_TASKID    2833 public function(id) {     set_task(0.1, "function1_task", FUNC1_TASKID + id, _, _, "b", 255)         return PLUGIN_HANDLED } public function1_task(id) {     //Function;         return PLUGIN_HANDLED     } public function1_rem_task(id) {     if(task_exists(FUNC1_TASKID + id))         remove_task(FUNC1_TASKID + id)         return PLUGIN_HANDLED } // --- public function2(id) {     set_task(0.5, "function2_task", FUNC2_TASKID + id,_, _, "b", 255);         return PLUGIN_HANDLED } public function2_task(id) {     //Function working here     //function working here         return PLUGIN_HANDLED } public function2_rem_task(id) {     if(task_exists(FUNC2_TASKID + id))         remove_task(FUNC2_TASKID + id)         return PLUGIN_HANDLED }
Console commands for first set of functions: invis and reminvis
Console commands for second set of functions: invis2 and reminvis2
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 16:46.


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