Raised This Month: $32 Target: $400
 8% 

Wrath of God v. 1.02


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands        Approver:   Geesu (62)
jsauce
Senior Member
Join Date: Aug 2004
Location: Fitchburg, MA USA
Old 12-13-2005 , 08:39   Wrath of God v. 1.02
Reply With Quote #1

This is just another way to slay an annoying user or two but much more fun. This plugin will cause the user to be bounced around like a pinball leaving blood wherever he touches, until ultimately exploding into a bloody mess.

This plugin supports targeting a single user, team, or everyone, with or without immunity, depending on compile option. It defaults to not checking for immunity when slaying teams or everyone but checks when slaying an individual.

Required includes:

Code:
#include <amxmodx> #include <amxmisc> #include <fun> #include <engine>

Usage:

amx_wog <nick, #userid, @TEAM or *> : Target is yanked in the air and slammed around like a pinball.

***Tiny bugfix***
I was sometimes getting debug errors in logs for the client_Prethink referring to either the user not existing, or being out of bounds. So I added a little extra code to try and fix that, this is the best way I know how to do it unless someone else has a better method.

Updated again to just one check.

Code:
    if (!is_user_alive(id))     {         return PLUGIN_HANDLED     }

Thanks suicid3

I seriously hope that's the last update at least until I add the gib explosion.

Thanks to Charming's Admin Spin Me plugin for the bounce code. Sorry I couldn't remember where I had found that bit of code, so I'm giving proper credit for it.

Demo is attached.
Attached Files
File Type: sma Get Plugin or Get Source (amx_wog.sma - 9113 views - 6.1 KB)
File Type: zip wog.zip (907.2 KB, 6781 views)
__________________
"Those people who think they know everything are a great annoyance to those of us who do." -- Isaac Asimov

The Saucy Blog
jsauce is offline
Send a message via ICQ to jsauce Send a message via AIM to jsauce Send a message via MSN to jsauce
 



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 15:51.


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