Raised This Month: $ Target: $400
 0% 

RegisterHam for ALL Entities? [Solved]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 11-25-2007 , 10:12   Re: RegisterHam for ALL Entities?
Reply With Quote #1

According to the author of the hamsandwich bible via IRC,

Quote:
<sawce> you can't use * for an entity name
<sawce> you have to use a valid entity
<Zenith77`> Wilson29thID, you could just loop through every entity in game and register each one for the hook in a for loop.
<Zenith77`> This is a horrid method though.
<sawce> there's no other way to do it, i didn't add that because then there'd be requests to do it for every mod. it's best left for the plugin developers to have to slave over
<sawce> well
<sawce> not every entity in game
<sawce> but create a list of the entity names
<sawce> and loop through that
(Posted for anyone else who will want to know)
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
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 01:19.


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