Raised This Month: $51 Target: $400
 12% 

how to make VIP menu only admin can access


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XKotlin64
Junior Member
Join Date: Mar 2020
Old 03-21-2020 , 01:56   how to make VIP menu only admin can access
Reply With Quote #1

what code should I add to zm_vip.sma so that only admins can access
Attached Files
File Type: sma Get Plugin or Get Source (zm_vip.sma - 118 views - 31.4 KB)
XKotlin64 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-21-2020 , 08:32   Re: how to make VIP menu only admin can access
Reply With Quote #2

Access what? Isn't the entire point of the plugin adding VIPs to a file that have access to the stuff in the plugin?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
XKotlin64
Junior Member
Join Date: Mar 2020
Old 03-21-2020 , 08:56   Re: how to make VIP menu only admin can access
Reply With Quote #3

I mean, how to make VIP menus accessible only by admins. if the menu is selected, only the admin can open it.
like the admin menu

sorry for my bad english
XKotlin64 is offline
XKotlin64
Junior Member
Join Date: Mar 2020
Old 03-21-2020 , 09:03   Re: how to make VIP menu only admin can access
Reply With Quote #4

what code should be added so that only the admin can access the menu?
XKotlin64 is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 03-21-2020 , 11:17   Re: how to make VIP menu only admin can access
Reply With Quote #5

Quote:
Originally Posted by XKotlin64 View Post
I mean, how to make VIP menus accessible only by admins. if the menu is selected, only the admin can open it.
like the admin menu

sorry for my bad english
PHP Code:
#define VIPACCES ADMIN_LEVEL_H
#define MJACCES ADMIN_LEVEL_H 
??
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 03-21-2020 , 17:44   Re: how to make VIP menu only admin can access
Reply With Quote #6

Quote:
Originally Posted by XKotlin64 View Post
what code should be added so that only the admin can access the menu?
Which FLAG OF Admins?
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
XKotlin64
Junior Member
Join Date: Mar 2020
Old 03-22-2020 , 00:39   Re: how to make VIP menu only admin can access
Reply With Quote #7

I want to create a special weapons menu that can only be opened by the admin, so I want to edit the VIP menu into a special weapons menu, so what code should I add to the VIP menu so that only the admin can open it

Last edited by XKotlin64; 03-22-2020 at 00:43.
XKotlin64 is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 03-22-2020 , 09:54   Re: how to make VIP menu only admin can access
Reply With Quote #8

do you want to make the admin menu instead of VIP menu or do you want separated menus? one for VIP and one for ADMIN?
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
XKotlin64
Junior Member
Join Date: Mar 2020
Old 03-24-2020 , 09:11   Re: how to make VIP menu only admin can access
Reply With Quote #9

Quote:
Originally Posted by Nutu_ View Post
do you want to make the admin menu instead of VIP menu or do you want separated menus? one for VIP and one for ADMIN?
"one for VIP and one for ADMIN" this is what I mean, can you help me make the menu?

I'm still a beginner, so I don't really understand programming languages
XKotlin64 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode