AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Admin Explode (https://forums.alliedmods.net/showthread.php?t=114998)

tuty 01-09-2010 11:06

Admin Explode
 
1 Attachment(s)
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





Owyn 01-09-2010 11:11

Re: Admin Explode
 
Quote:

Originally Posted by tuty
i have nonsteam

i found a :crab:
:mrgreen:

crazyeffect 01-09-2010 11:26

Re: Admin Explode
 
Not smart tuty...

Anyway, he has a Steam Server...

Zombiezzz 01-09-2010 11:41

Re: Admin Explode
 
whats so bad about non steam?

fang 01-09-2010 11:44

Re: Admin Explode
 
Quote:

Originally Posted by Owyn (Post 1049166)
i found a :crab:
:mrgreen:

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.

Tonda 01-09-2010 11:46

Re: Admin Explode
 
where is define admin? :shock: in this plugin ist nothing about admin .... i need define admin with level h

DarkGod 01-09-2010 11:50

Re: Admin Explode
 
Quote:

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

is_user_admin( iVictim )
:arrow:
( get_user_flags( iVictim ) & ADMIN_LEVEL_H )

Tonda 01-09-2010 17:40

Re: Admin Explode
 
Quote:

Originally Posted by DarkGod (Post 1049205)
is_user_admin( iVictim )
:arrow:
( get_user_flags( iVictim ) & ADMIN_LEVEL_H )

thx

laziboi72 01-10-2010 19:06

Re: Admin Explode
 
nicely done

ConnorMcLeod 01-10-2010 20:12

Re: Admin Explode
 
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 ?


All times are GMT -4. The time now is 15:35.

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