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

Flag change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cirovic
Senior Member
Join Date: Sep 2019
Old 08-03-2020 , 07:25   Flag change
Reply With Quote #1

Can flag change be edited for this plugin i uploaded

ADMIN_LEVEL_H needs to be able to buy it
Attached Files
File Type: sma Get Plugin or Get Source (gg_item_jp_bazooka2.sma - 160 views - 14.9 KB)
Cirovic is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-03-2020 , 07:36   Re: Flag change
Reply With Quote #2

Code:
public CmdBuyJetPack(id) {     if(!is_user_alive(id)) return PLUGIN_HANDLED;

=>

Code:
public CmdBuyJetPack(id) {     if(!is_user_alive(id)) return PLUGIN_HANDLED;     if(!(get_user_flags(id) & ADMIN_LEVEL_H))     {         client_print(id, print_chat, "[JETPACK] You have no access to this command.");         return PLUGIN_HANDLED;     }
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Cirovic
Senior Member
Join Date: Sep 2019
Old 08-03-2020 , 07:51   Re: Flag change
Reply With Quote #3

thanks, as always... you helped me a lot.. i need one thing more to be done from you..

1.This plugin - https://forums.alliedmods.net/showthread.php?t=295270
i need this for normal server no ZP, so when player with flag "t" type /plasmagun he get that weapon for 10000$
Cirovic is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-03-2020 , 08:52   Re: Flag change
Reply With Quote #4

If you want another *completely irrelevant to this thread* thing done, you post another thread.
__________________

Last edited by OciXCrom; 08-03-2020 at 08:52.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 10:06.


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