Raised This Month: $ Target: $400
 0% 

Lock Menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 09-20-2011 , 13:17   Re: Lock Menu
Reply With Quote #4

He basically just did.
PHP Code:
new Float:gfVariable[33/MAX_PLAYERS+1]    //this is your variable 
PHP Code:
public handleMenublabla(idmenuitem)
{
     
blablabla...

     switch(
key)
     {
          case 
1:
          {
                if (
gfVariable[id] < get_gametime())
                {
                      
blablabla
                      gfVariable
[id] = get_gametime()+300.0
                  
}
                  else {
                       
blabla 
Erox902 is offline
 



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 19:33.


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