Raised This Month: $ Target: $400
 0% 

Remove an entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 08-15-2012 , 17:48   Remove an entity
Reply With Quote #1

Hello guys :p

I have doing this plugin wich do not work :
Code:
#include < amxmodx > #include < engine > public plugin_init( ) {     register_plugin( "remove Flashbang" , "1.0" , "Aooka" );         register_event( "HLTV" , "evNewRound" , "be" ); } public evNewRound( ) {     new const iEnt = find_ent_by_class( - 1 , "flashbang" );         while( iEnt < 0 )         remove_entity( iEnt ); }

It's just to remove all the flashbang on the ground at the begining of all the round.

Someone have an idears ?
__________________
Pawn ? Useless
Aooka is offline
 


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 05:44.


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