when more than requiet ?!!!
hi guys.
i have problem with level when a player have more than level requiet he can't get the less guns level Example : Infinity black[lvl:0] Balrog-I[lvl:1] when a player have level 0 he can take the infinity black but if he get level up he can't get it anymore he can get only Blarog-I can you help me here is the part of the code where this 2 : PHP Code:
Thanks for advance. |
Re: when more than requiet ?!!!
do you know a person called farouk?
btw heres the solution ------->> g_iLevel[id] >= LEVEL_NUMBER |
Re: when more than requiet ?!!!
Arab : la ana mab3ref had ismo farouk.
English : no i don't know someone called farouk. btw Thanks m8. EDIT : sorry i fixed it all thanks you so much. |
Re: when more than requiet ?!!!
can i ask for one more thing i don't want to create a new post.
how i can make a menu show only for a periode of time ?. |
Re: when more than requiet ?!!!
Quote:
for a player.. PHP Code:
|
Re: when more than requiet ?!!!
it's level submenu.
EDIT : here is the part of menu where it's need the change i think : PHP Code:
|
Re: when more than requiet ?!!!
please help in previous reply i update it.
|
Re: when more than requiet ?!!!
Read the if statement and think about it. The one you have will return (not create the menu) if the user is dead AND is on Counter-Terrorist team. That means that if you are ONE of the following; terrorist, spectator, unassigned or alive you will get the menu no matter what else.
You probably want || and CS_TEAM_T. I can't help you with the other stuff on my phone. |
Re: when more than requiet ?!!!
okay thanks i be waiting for you when ever you are on pc. okay
|
Re: when more than requiet ?!!!
i see menu_destroy() used too often when not needed. i mean when you have a menu that has the same contents every time, whats the point of re-creating and destroying it hundreds (if not thousands) of times when you could just create the menu once and just show the same menu every time when needed?
menu_destroy() is only useful when you create a menu that has a different content every time. for example a menu that displays players list what people do: Code:
what they should do when using the same menu over and over again: Code:
|
| All times are GMT -4. The time now is 21:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.