Raised This Month: $ Target: $400
 0% 

Command Toggle(ON/OFF)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
suundz
Junior Member
Join Date: Oct 2012
Location: Sweden, Bollnäs
Old 07-14-2014 , 09:31   Command Toggle(ON/OFF)
Reply With Quote #1

Hello, I wan't to make a plugin with a command that toggle on/off

Code:
#include <amxmodx>

new bool:ReadyUsed[33];

public plugin_init() {
     register_clcmd("ready", "ready");
}
So I'm using this and I wan't to toggle the boolean ReadyUsed on or off, by using it first time it's on and by second time it's off

Please give me some help, if you don't understand try reading it again :S

Thanks in advance! =D
suundz is offline
Send a message via Skype™ to suundz
 



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 21:05.


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