Raised This Month: $ Target: $400
 0% 

register_clcmd?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-15-2010 , 11:06   Re: register_clcmd?
Reply With Quote #9

Quote:
Originally Posted by Ashcan View Post
sorry but u are helpless...

how can i block that command more than once every 10 seconds ?
sorry but you are BRAINless...

see my first post.

http://forums.alliedmods.net/search....archid=5372736

3. thread :
http://forums.alliedmods.net/showthr...ghlight=in_use
Block use

and how is it about to research for some words like :
countdown
set_task
block time
...

or how you ask i think you can code... how about :
Code:
new bool:player_used_use[33] = false



public FwdUseButton( iEnt, iClient )
{
    if( is_user_alive( iClient ) &&  player_used_use[iClient])
    {
        return HAM_SUPERCEDE;
    }
else
    player_used_use[iClient] = true

set_task(10.0,"reset_players_score",id)
    return HAM_IGNORED;
}  



public reset_players_score(id)
{
player_used_use[id] = false
}
__________________

Last edited by One; 03-15-2010 at 11:10.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 



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 08:39.


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