Raised This Month: $ Target: $400
 0% 

Reset


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Alphad
Senior Member
Join Date: Jun 2014
Old 07-17-2014 , 12:32   Reset
Reply With Quote #1

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

new bool:aaszCommand  128 ]

public 
plugin_init() 

    
register_plugin("SVAA""1.0""AM"
    
register_clcmd("say /aa""clcmdAA"0



public 
clcmdAA id ) {
    
    
aa = !aa
    
    formatex 
szCommandsizeof szCommand -1"sv_airaccelerate %i"aa 100 )
    
server_cmd szCommand )
    
client_print(0print_chat"sv_airaccelerate %i"aa 100 
how could i reset this? like every round the first time you type /aa it wil do 5.
Because I have something that every newround does it set to 100. And if the last thing i typed the round before was to set it to 5. Then at the new round it will go to 100. Tho it is already 100. So reset it somehow evey new round. Is that thing possible?
Alphad is offline
 


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


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