How to make this give permission on IP?
Theres this plugin for CS that is basically admins_manager but simplified. However, it puts the permissions on steam ID and I tried playing around with it change to it to IP but to no avail (I dont know how to program) it gives "Client with that name or userid not found" in the server console but for some reason with authid (steamid) it works perfectly fine. If someone knows how to make this IP please let me know! thank you!
Code link: https://pastebin.com/ZAdaL7br |
Re: How to make this give permission on IP?
Code:
get_user_authid(plr, playerid, sizeof playerid - 1); PHP Code:
|
Re: How to make this give permission on IP?
Quote:
|
Re: How to make this give permission on IP?
Quote:
I don't think it's possible, you have to rebuild the code and match the ip before giving permissions, to give a range if or if the STEAMID has to be used, it is based on that, not the ip, you could try placing a condition before giving the permission checking if the ip is correct, like: PHP Code:
|
Re: How to make this give permission on IP?
There is no good reason to use IP instead of SteamID. Just use SteamID.
|
Re: How to make this give permission on IP?
Quote:
|
Re: How to make this give permission on IP?
Removing admins isn't a functionality that is built into AMX Mod X. I think I recall people asking for something like this in the past, you should search around to see if you can find if there was any solutions implemented.
|
All times are GMT -4. The time now is 00:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.