Limiting items
PHP Code:
I am trying to limit items to players .. i.e if player buys one item he cant buy other But when im using this method im unable to buy anything .. Everytime i buy it shows you already have one item Also is there any way i can show Points of players below menu EX: Quote:
One last error is im using \r to make it color as in the guide of article [New Amxx Menu System] But its not working |
Re: Limiting items
Basics mistakes
Firstly
Spoiler
Secondary
Spoiler
Each item should has its own data(variable/boolean).. |
Re: Limiting items
if(item == MENU_EXIT)
{ menu_cancel(id); return PLUGIN_HANDLED; } why not to destroy instead of cancel |
Re: Limiting items
Thanks Natsheh ... Silly mistakes :|
Btw can you also tell about the other two issues ? 1) Also is there any way i can show Points of players below menu EX: Quote:
|
| All times are GMT -4. The time now is 23:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.