English certain player's menu

4 replies
Goto Page
To the start Previous 1 Next To the start
08.06.18 01:19:22 pm
Up
princeofpersia
User
Offline Off
hi . i need a player menu that show only certain players

example : when i press Kick in menu . thats show only players with USER ranks and dont show VIP and Mods in list of players .

-pls dont show me other admin lua's same as hc . tell me a way to make that please
08.06.18 03:10:49 pm
Up
Rainoth
Moderator
Offline Off
1. Set up ranks
2. Loop all players and check their ranks
3. If a player's rank is e.g. 100 or below (below VIP level), include him into the menu string.
4. Call out the menu.

I'd advise you to use something like file cs2d [EngiN33R] UniMenu (31) to make it easier for you.

Good luck.
08.06.18 06:07:54 pm
Up
princeofpersia
User
Offline Off
@user Rainoth: its ez for saying . but give me an example lua . its better to show me with unimenu

@user Cure Pikachu: can u help me ?:V
09.06.18 02:03:05 am
Up
Rainoth
Moderator
Offline Off
I'm not going to write you code just because you're lazy. I already gave you all the steps you need and the resources to do it. Write it yourself or else you'll keep begging people to do things for you and that's not going to happen.

If you don't understand how unimenu works, read the description. Engy added some examples.
09.06.18 02:24:12 am
Up
Masea
Super User
Offline Off
user princeofpersia has written:
tell me a way to make that please
Here what you are saying. You have wanted a way to follow and it is here.
Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery: file cs2d Outlast 2 Modification (27)
To the start Previous 1 Next To the start