Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: OciXCrom
Forum: Code Snippets/Tutorials 05-02-2017, 05:24
Replies: 41
Views: 11,113
Posted By OciXCrom
Re: [INC/STOCK] menu_set_timeout

What's the point? You use it when you create the menu, I don't see how it can be useful.
Forum: Code Snippets/Tutorials 02-20-2017, 14:00
Replies: 41
Views: 11,113
Posted By OciXCrom
Re: [INC/STOCK] menu_set_timeout

@edon1337 - why would I use enum for just one number? Makes no sense at all. I don't see how this is unnecessary. If you'll want to destroy a menu after X seconds, you will do it like this anyways.
...
Forum: Code Snippets/Tutorials 02-20-2017, 07:14
Replies: 41
Views: 11,113
Posted By OciXCrom
Re: [INC/STOCK] menu_set_timeout

Even though it exists in 1.8.3, it doesn't exist in the earlier dev builds, so adding a version check might break the code. Is there a way to check the dev build with #if? The AMXX_VERSION_LOCAL_REV...
Forum: Code Snippets/Tutorials 02-19-2017, 13:22
Replies: 41
Views: 11,113
Posted By OciXCrom
[INC/STOCK] menu_set_timeout

With this stock you can make a menu disappear after X seconds.

stock menu_set_timeout(const id, const iMenu, const Float:fTime)

Example:

#include <amxmodx>
#include <menutime>

public...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 21:06.


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