Raised This Month: $ Target: $400
 0% 

BOT client_cmd every 4 second (fix)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Saryyy
Junior Member
Join Date: Jun 2007
Location: PolanD
Old 12-25-2012 , 10:14   BOT client_cmd every 4 second (fix)
Reply With Quote #1

Hi ,can someone help me fix this plugin ? I want from this plugin to use in every 4 seconds command to press 1 (like in votemod)

sorry for bad english

Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "wymuszanie"
#define VERSION "1.0"
#define AUTHOR "aasdasd"


public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
}
public bot(id)
{
        if(is_user_bot(id))
        get_user_name(id, "BOT", 31)
        set_task(4.0, "wciskaj", id)
}
public wciskaj(id)
{
        client_cmd(id, "slot1")
}

Last edited by Saryyy; 12-25-2012 at 12:33.
Saryyy is offline
Send a message via ICQ to Saryyy Send a message via Skype™ to Saryyy
 


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 13:36.


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