Template:Archived Page History/CBaseEntity/en: Difference between revisions
Jump to navigation
Jump to search
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{Language subpage → {{langsp) |
SirYodaJedi (talk | contribs) m (→Keyvalues) |
||
| Line 3: | Line 3: | ||
== Keyvalues == | == Keyvalues == | ||
{{todo|Document [[Template:KV BaseEntity/doc/Uncovered Keyvalues|the other KVs from this class]] as well.}} | |||
{{KV BaseEntity}} | {{KV BaseEntity}} | ||
Revision as of 12:23, 15 May 2024
The base class for all entities.
Keyvalues
Todo: Document the other KVs from this class as well.
Inputs
Outputs
To get the class name of an entity, use
entity->edict()->GetClassName();
Asserts
Client
Problem:
// Model could not be found
Assert( !"Model could not be found, index is -1" );
Solution:
- Check your model name three times.
- Precache your model on both server and client.