CBaseEntity

From Valve Developer Community
Revision as of 13:01, 14 July 2011 by Beerdude26 (talk | contribs) (Created page with "= Asserts = == Client == '''Problem:''' <source lang="cpp"> // Model could not be found Assert( !"Model could not be found, index is -1" );</source> '''Solution:''' *Check your m...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Asserts

Client

Problem:

// Model could not be found
Assert( !"Model could not be found, index is -1" );

Solution:

  • Check your model name thrice.
  • Precache your model on both server and client.