AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   LF4D2 - JETPACK - Change "FLAG" (https://forums.alliedmods.net/showthread.php?t=311506)

Mi.Cura 10-20-2018 10:11

LF4D2 - JETPACK - Change "FLAG"
 
1 Attachment(s)
Hello friends,

I'm trying to change this plugin to work only for admins "flag root", but I'm having trouble doing this. :oops:

If someone can help me by informing which line, how should I change the command line, I thank you very much.

Silvers 10-20-2018 12:12

Re: LF4D2 - JETPACK - Change "FLAG"
 
The recommended method is Overriding Command Access to change "sm_jetpack_give" and "sm_jetpack_take" commands.

or change "#define ADMFLAG_JETPACK ADMFLAG_CUSTOM2" to "#define ADMFLAG_JETPACK ADMFLAG_ROOT" and recompile plugin.

Mi.Cura 10-20-2018 13:21

Re: LF4D2 - JETPACK - Change "FLAG"
 
Quote:

Originally Posted by Silvers (Post 2620527)
The recommended method is Overriding Command Access to change "sm_jetpack_give" and "sm_jetpack_take" commands.

or change "#define ADMFLAG_JETPACK ADMFLAG_CUSTOM2" to "#define ADMFLAG_JETPACK ADMFLAG_ROOT" and recompile plugin.

Thanks Silver, i try this.

Mi.Cura 10-20-2018 15:03

Re: LF4D2 - JETPACK - Change "FLAG"
 
I tried both ways:

Trying to compile it shows errors.
Also did not work using admin_overrides also did not work either.

But I thank you, Silvers, for try help me, I'm going to keep on trying.

Psyk0tik 10-20-2018 22:13

Re: LF4D2 - JETPACK - Change "FLAG"
 
Quote:

Originally Posted by Mi.Cura (Post 2620553)
I tried both ways:

Trying to compile it shows errors.
Also did not work using admin_overrides also did not work either.

But I thank you, Silvers, for try help me, I'm going to keep on trying.

I answered your question(s) here: https://forums.alliedmods.net/showpo...2&postcount=74


All times are GMT -4. The time now is 04:52.

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