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

FFE v3 - Flags For Everybody.


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Unkolix
Veteran Member
Join Date: Sep 2012
Old 04-24-2013 , 08:19   FFE v3 - Flags For Everybody.
Reply With Quote #1

So, I have seen quite a lot of requests to make plugins work for everybody. That is because most plugins will work only for players with certain flags. And here is where this plugin can be used for.

This plugin sets flags for everybody in the server.

The plugin has two CVARs:
PHP Code:
ffe "1" // Plugin itself on/off. 1 - on. 0 - off.
ffe_flags "mnopqrst" // Flags to be given for everybody. You can change them. Flags are listed below. 
Flags:
PHP Code:
/*
    Flags:
    a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
    b - reservation (can join on reserved slots)
    c - amx_kick command
    d - amx_ban and amx_unban commands
    e - amx_slay and amx_slap commands
    f - amx_map command
    g - amx_cvar command (not all cvars will be available)
    h - amx_cfg command
    i - amx_chat and other chat commands
    j - amx_vote and other vote commands
    k - access to sv_password cvar (by amx_cvar command)
    l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
    m - custom level A (for additional plugins)
    n - custom level B
    o - custom level C
    p - custom level D
    q - custom level E
    r - custom level F
    s - custom level G
    t - custom level H
    u - menu access
*/ 
Changelog, thanks to:
Spoiler


Installation (nothing special):
Spoiler
Attached Files
File Type: sma Get Plugin or Get Source (ffe.sma - 1066 views - 2.1 KB)

Last edited by Unkolix; 04-25-2013 at 00:20.
Unkolix is offline
hosimosi
Senior Member
Join Date: Apr 2013
Old 04-24-2013 , 08:26   Re: FFE - Flags For Everybody
Reply With Quote #2

nice
hosimosi is offline
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 04-24-2013 , 10:27   Re: FFE - Flags For Everybody
Reply With Quote #3

good job
__________________

Last edited by Balck; 04-24-2013 at 10:27.
Balck is offline
roymor
Senior Member
Join Date: Apr 2012
Old 04-24-2013 , 10:49   Re: FFE - Flags For Everybody
Reply With Quote #4

there're more flags you didnt mention I think z - user and maybe there're few more but gj
roymor is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 04-24-2013 , 10:53   Re: FFE - Flags For Everybody
Reply With Quote #5

Quote:
Originally Posted by roymor View Post
there're more flags you didnt mention I think z - user and maybe there're few more but gj
There's z, but it's useless in this plugin. If you set this flag with others, the other won't work (I think). And that flag is default.
Unkolix is offline
FanatikSVK
Member
Join Date: Aug 2012
Location: Slovakia
Old 04-24-2013 , 13:08   Re: FFE - Flags For Everybody
Reply With Quote #6

Nice ;)
__________________
FanatikSVK is offline
Send a message via Skype™ to FanatikSVK
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-24-2013 , 15:54   Re: FFE - Flags For Everybody
Reply With Quote #7

Only change default flags in amxx.cfg not need to create another plugin LOL

i think the cvar its is: amx_default_access "z"
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 

Last edited by ^SmileY; 04-24-2013 at 15:56. Reason: :p
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Unkolix
Veteran Member
Join Date: Sep 2012
Old 04-24-2013 , 16:27   Re: FFE - Flags For Everybody
Reply With Quote #8

Quote:
Originally Posted by ^SmileY View Post
Only change default flags in amxx.cfg not need to create another plugin LOL

i think the cvar its is: amx_default_access "z"
It is... But if you have another plugins that require few different flags?
Unkolix is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 04-24-2013 , 18:40   Re: FFE - Flags For Everybody
Reply With Quote #9

cmdaccess.ini edit then
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 04-24-2013 , 21:19   Re: FFE - Flags For Everybody
Reply With Quote #10

should set ffe a pcvar also as they are faster.

Code:
new ffe; ffe = register_cvar("ffe", "1"); if(get_pcvar_num(ffe))
__________________
Blizzard_87 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 22:34.


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