Forum

> > CS2D > Scripts > certain player's menu
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch certain player's menu

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt certain player's menu

princeofpersia
User Off Offline

Zitieren
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

alt Re: certain player's menu

Rainoth
Moderator Off Offline

Zitieren
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.

alt Re: certain player's menu

Rainoth
Moderator Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht