Raised This Month: $ Target: $400
 0% 

kill hostages.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-09-2007 , 15:26   Re: kill hostages.
Reply With Quote #1

Hum...look! Tested and works.

Code:
#include <amxmodx>
#include <fakemeta_util>
 
#define PLUGIN "Kill Hostages"
#define VERSION "1.0"
#define AUTHOR "AMXX"
 
public plugin_init() {
 
 register_plugin(PLUGIN, VERSION, AUTHOR)
 register_logevent("round_start", 2, "1=Round_Start")
 
}
 
public round_start()
{
     new ent;
     while((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", "hostage_entity")) != 0)
     {
           if(pev_valid(ent))
           {
                 set_pev(ent, pev_origin, Float:{5000.0,5000.0,5000.0});
           }
     }
}
Thanks Avalanche.
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 07-10-2007 at 15:08.
Alka 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 21:28.


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