Raised This Month: $ Target: $400
 0% 

What's command..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zirualas
Senior Member
Join Date: Jun 2010
Location: Lithuania
Old 07-31-2010 , 02:00   What's command..
Reply With Quote #1

Quote:
Originally Posted by Vechta View Post
use bool for it..
How use this command.
Hee said this words when i ask
I have theres another bug, basically when you write /vipmenu you can take a item. you write it again and you can take another item. I wants it to be so that you can only use it once per round.
zirualas is offline
Send a message via Skype™ to zirualas
Vechta
Veteran Member
Join Date: Jun 2010
Old 07-31-2010 , 03:53   Re: What's command..
Reply With Quote #2

solved ?
Vechta is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-31-2010 , 17:53   Re: What's command..
Reply With Quote #3

Make a global boolean variable array (size 33) and set it to true when they use the menu. Then, on new round, set it back to false.
__________________
fysiks is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 07-31-2010 , 18:34   Re: What's command..
Reply With Quote #4

Example :

PHP Code:
new bool:myBooleen[33]
 
public 
blabla()
{
     if ( 
blabla )
     {
          
// stuff
          
myBooleen[id] = true;
     }

__________________
You can do anything you set your mind to, man.

Devil259 is offline
Reply


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 00:17.


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