Raised This Month: $95 Target: $400
 23% 

Admin Explode


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Hawk552 (427)
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 01-09-2010 , 12:06   Admin Explode
Reply With Quote #1

Admin Explode


Description:

- Before saying any bullshit about nonsteam, read here first. I don't have czero from steam installed in pc and i'm too lazy to download him, i already have a nonsteam version because i need to test with bots.
- Bassicaly, with this plugin, if an admin die, will explode in a radius of <x> with <damage>! A skull icon will appear on right up corner of HUD, when someone died in that explosion.


Cvars:

ae_enabled - 1 - plugin enabled / 0 - plugin disabled
ae_radius - 500 - the explosion radius
ae_damage - 1000.0 - explosion damage
ae_frags - 1 - frag bonus for each kill in explosion
ae_money - 100 - money bonus for each kill in explosion




Attached Files
File Type: sma Get Plugin or Get Source (AdminExplode.sma - 6236 views - 4.3 KB)
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx


Last edited by tuty; 11-26-2015 at 17:44.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-09-2010 , 12:11   Re: Admin Explode
Reply With Quote #2

Quote:
Originally Posted by tuty
i have nonsteam
i found a
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-09-2010 , 12:26   Re: Admin Explode
Reply With Quote #3

Not smart tuty...

Anyway, he has a Steam Server...
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 01-09-2010 , 12:41   Re: Admin Explode
Reply With Quote #4

whats so bad about non steam?
__________________
Zombiezzz is offline
fang
Senior Member
Join Date: Nov 2007
Location: New Jersey
Old 01-09-2010 , 12:44   Re: Admin Explode
Reply With Quote #5

Quote:
Originally Posted by Owyn View Post
i found a
He has steam. He played in my DR server a while ago plus he said in the topic above it's just for testing on his other computer that he didn't bother to install Steam/CZ on.


@Tuty: Good job. I'll try this later when I get the time.
fang is offline
Tonda
Senior Member
Join Date: Aug 2009
Old 01-09-2010 , 12:46   Re: Admin Explode
Reply With Quote #6

where is define admin? in this plugin ist nothing about admin .... i need define admin with level h
Tonda is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 01-09-2010 , 12:50   Re: Admin Explode
Reply With Quote #7

Quote:
Originally Posted by Tonda View Post
where is define admin? in this plugin ist nothing about admin .... i need define admin with level h
is_user_admin( iVictim )

( get_user_flags( iVictim ) & ADMIN_LEVEL_H )
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Tonda
Senior Member
Join Date: Aug 2009
Old 01-09-2010 , 18:40   Re: Admin Explode
Reply With Quote #8

Quote:
Originally Posted by DarkGod View Post
is_user_admin( iVictim )

( get_user_flags( iVictim ) & ADMIN_LEVEL_H )
thx

Last edited by Tonda; 01-09-2010 at 18:42.
Tonda is offline
laziboi72
Senior Member
Join Date: Aug 2009
Location: deathrun_temple
Old 01-10-2010 , 20:06   Re: Admin Explode
Reply With Quote #9

nicely done
__________________
Taking a break from modding dunno when i will be back

FAIL, RIGHT HERE
laziboi72 is offline
Old 01-10-2010, 21:04
joaquimandrade
This message has been deleted by YamiKaitou. Reason: link to non-steam
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-10-2010 , 21:12   Re: Admin Explode
Reply With Quote #10

PHP Code:
    if( equalszWeapon"world"
    || 
equalszWeapon"worldspawn"10 
    || 
equalszWeapon"trigger_hurt"12 
    || 
equalszWeapon"door_rotating"13 
    || 
equalszWeapon"door")
    || 
equalszWeapon"rotating"
    || 
equalszWeapon"env_explosion"13 ) )
    {
        return 
PLUGIN_CONTINUE;
    } 
Ever heard about tries ?


Why limit this to admins ? Can't you make a cvar for it ? Also please make a cvar to check admin flags like "cvar_name_flags_needed" "abcef".


About non-steam and bots, why don't you install PodBot on cs ?
__________________
- tired and retired -
ConnorMcLeod is offline
Reply


Thread Tools
Display Modes

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 11:25.


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