Ham_Precache, how to use ?
Title ?
|
Re: Ham_Precache, how to use ?
Like any others Ham forward, you need to provide a classname to hook.
|
Re: Ham_Precache, how to use ?
Like these ?
PHP Code:
|
Re: Ham_Precache, how to use ?
To call it, yes, just need to pass an entity index. But info_target would be a wrong example this entity does nothing.
|
Re: Ham_Precache, how to use ?
@Arkshine: whn is this forward called exactly (Ham_Precache )
|
Re: Ham_Precache, how to use ?
I have create some entities and I set the model with EngFunc_SetModel or entity_set_model, I precached the model with precache_model or EngFunc_PrecacheModel and server crashed with error "model name_model not precached".
I copied the model in models folder, When I connected to server, the precache is fine, but after some rounds played, server crashed with not preache model. Possible to not create correct the entities ? |
Re: Ham_Precache, how to use ?
@abdul-rehman : CClass::Precache() (CBasePlayer, CUSP, etc..) is called when an entity spawns.
@dFF : Show your code, it will be more easy to figure out your problem. |
| All times are GMT -4. The time now is 11:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.