Raised This Month: $ Target: $400
 0% 

Plugin admin glow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DevilGuy
Junior Member
Join Date: Nov 2014
Location: Morroco
Old 11-09-2014 , 07:13   Plugin admin glow
Reply With Quote #1

i want a plugin admin glow for admins in zpa and thanks

(PS : Soory for my bad english)
DevilGuy is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-09-2014 , 13:26   Re: Plugin admin glow
Reply With Quote #2

Do you want for both zombie and human? Which flag that you used for your admin?
zmd94 is offline
DevilGuy
Junior Member
Join Date: Nov 2014
Location: Morroco
Old 11-12-2014 , 12:17   Re: Plugin admin glow
Reply With Quote #3

For Human Only
DevilGuy is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-12-2014 , 12:38   Re: Plugin admin glow
Reply With Quote #4

Do you want it to temporary or permanent?
zmd94 is offline
DevilGuy
Junior Member
Join Date: Nov 2014
Location: Morroco
Old 11-12-2014 , 12:55   Re: Plugin admin glow
Reply With Quote #5

permanent
DevilGuy is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-12-2014 , 22:02   Re: Plugin admin glow
Reply With Quote #6

If you want, you can just this version. ;)

Free Glow (ZP Compatible)


Now, you will recieve colorful and random glow or aura. ;)

Configuration:
PHP Code:
//Uncomment 'IM_USING_ZP' if you want to use this plugin in ZP mode.
#define IM_USING_ZP

// if you are using this plugin for ZPA, 
// just change #include <zombieplague> into #include <zombie_plague_advance>
#if defined IM_USING_ZP
#include <zombie_plague_advance>
#endif 
By the way, I have configured it for you. This plugin can be used in ZPA. Yet, maybe you just want to edit the flag:
PHP Code:
// Configure which flag will have recieve the free glow
#define ADMIN_FLAG ADMIN_IMMUNITY 
What can you edit:
PHP Code:
    g_iGlow register_cvar("fg_enable_glow""1"// Enable the glow
    
g_iAura register_cvar("fg_enable_aura""1"// Enable the aura 
By the way, this plugin need you to download custom include. Just read below section.

Requirements:
1. cs_core.inc file.
2. cs_core.sma file.
3. cs_reward.sma file.
All of the requirement files can be downloaded from here: https://forums.alliedmods.net/showth...hp?t=245805#18

Screenshots:



Attached Files
File Type: sma Get Plugin or Get Source (g_2.sma - 819 views - 2.2 KB)

Last edited by zmd94; 11-30-2014 at 23:39.
zmd94 is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 11-12-2014 , 23:36   Re: Plugin admin glow
Reply With Quote #7

or just use this ?

PHP Code:
#include <amxmodx>
#include <fun>
#include <zp50_colorchat>
#include <zp50_core>

#define ADMIN_FLAG ADMIN_IMMUNITY

public plugin_init() 
{
    
register_plugin("Admin Glow""1.0""Cat")
}

public 
zp_fw_core_cure_post(id)
{
       if(
is_user_alive(id) && (get_user_flags(id) & ADMIN_FLAG))
       
set_task(1.5"do_random_glow"id+273__"b")
}

public 
do_random_glow(id)
{
       
id -= 273

       set_user_rendering
(idkRenderFxGlowShellrandom_num(100,255),random_num(100,255), random_num(100,255), kRenderNormal5

}

public 
zp_fw_core_infect_post(id)
{
       if(
is_user_alive(id))
       
set_user_rendering(idkRenderFxGlowShell000kRenderNormal5)

       
remove_task(id 273)

Short and sweet mate ;)

(Not tested though)
__________________
You will find everything u need :-

Last edited by Catastrophe; 11-12-2014 at 23:38.
Catastrophe is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-12-2014 , 23:43   Re: Plugin admin glow
Reply With Quote #8

Quote:
Originally Posted by Catastrophe View Post
Short and sweet mate ;)
Yes, yet it only for ZP5.0. ;)

Maybe, you should modify it a little bit. So that it can be used in ZPA. \o/
zmd94 is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 11-13-2014 , 01:27   Re: Plugin admin glow
Reply With Quote #9

Ooo... sorry lol i didnt read he wanted it for zpa.... well someone will have to change the forwards in my code since i dont remember zpa forwards... other wise he should just use ur code zmd
__________________
You will find everything u need :-
Catastrophe is offline
DevilGuy
Junior Member
Join Date: Nov 2014
Location: Morroco
Old 11-14-2014 , 07:22   Re: Plugin admin glow
Reply With Quote #10

Thank's All
DevilGuy 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 00:32.


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