Forum

> > CS2D > Scripts > certain player's menu
Forums overviewCS2D overview Scripts overviewLog in to reply

English certain player's menu

4 replies
To the start Previous 1 Next To the start

old certain player's menu

princeofpersia
User Off Offline

Quote
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

old Re: certain player's menu

Rainoth
Moderator Off Offline

Quote
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 to make it easier for you.

Good luck.

old Re: certain player's menu

Rainoth
Moderator Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview