Raised This Month: $ Target: $400
 0% 

User buy hook [ Need help ]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 01-16-2011 , 10:36   Re: Plugin works once per round? O_o
Reply With Quote #2

You can make a new global bool and set it false at round start.
Then when the menu is called, check if bool is false.
If it's false, he hasn't used the menu yet, show the menu and set the bool true.

And you could create the awesome menu inside the clcmd_func along with the menu_go(id) function.

And you shouldn't just copy-paste a tutorial, you should read, understand and try to make it yourself.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
 



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 01:56.


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