Raised This Month: $ Target: $400
 0% 

How to create a "trigger" entity in running time?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Fredd
Veteran Member
Join Date: Jul 2007
Old 04-18-2008 , 21:08   Re: How to create a "trigger" entity in running time?
Reply With Quote #7

Quote:
Originally Posted by Peoples Army View Post
no you got it backwords . m_ModelName is a string "models/player/t_arctic.mdl"

if your looking for the integer index for the model it would be

m_nModelIndex
no he doesnt have it backwards. its right model index is basically the index id of the entity, " *8 " is not an index, if you make a loop on all entities and return their model names(not model index) you will get numbers like " *1" and such in the returned string which what LDuke said it makes it a brushed entity..
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd 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 11:14.


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