Raised This Month: $ Target: $400
 0% 

The Specialists: Hook Powerups


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 12-31-2008 , 23:57   Re: The Specialists: Hook Powerups
Reply With Quote #3

Solution:

Code:
RegisterHam(Ham_Spawn,"ts_powerup","PowerupDelete")
 
public PowerupDelete(PowerupEntid)
{
 remove_entity(PowerupEntid)
 
 return HAM_HANDLED
}
Works great. Deletes all of the powerups dropped when players die, but leaves the powerup spawners in the level, which is exactly what I wanted.

Thank you.
__________________
Bad_Bud is offline
 



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 09:17.


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