AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   need help with models to classes (https://forums.alliedmods.net/showthread.php?t=94073)

~Ice*shOt 06-06-2009 00:58

need help with models to classes
 
Hi, what's can help for me witch models to classes ? i using this for precache:
precache_model(models/player/Hunter/Hunter.mdl)

and this for model:
cs_set_user_model(id, "Hunter");

what is bad ?

TitANious 06-06-2009 03:36

Re: need help with models to classes
 
Isnt it
PHP Code:

cs_set_user_model(idmodels/player/hunter/hunter.mdl); 


xPaw 06-06-2009 03:40

Re: need help with models to classes
 
Quote:

Originally Posted by TitANious (Post 842826)
Isnt it
PHP Code:

cs_set_user_model(idmodels/player/hunter/hunter.mdl); 


No. not even close (again) =\

PHP Code:

precache_model"models/player/Hunter/Hunter.mdl" );

cs_set_user_modelid"Hunter" ); 


~Ice*shOt 06-06-2009 03:41

Re: need help with models to classes
 
okey, thx i will go to test this :)

TitANious 06-06-2009 04:12

Re: need help with models to classes
 
Quote:

Originally Posted by xPaw (Post 842829)
No. not even close (again) =\

PHP Code:

precache_model"models/player/Hunter/Hunter.mdl" );

cs_set_user_modelid"Hunter" ); 


I just don't get that you can do hunter, do the script even know the path?

fysiks 06-06-2009 04:22

Re: need help with models to classes
 
Quote:

Originally Posted by TitANious (Post 842839)
I just don't get that you can do hunter, do the script even know the path?

Yes, it's designed that way.

TitANious 06-06-2009 04:41

Re: need help with models to classes
 
Nice :D Thanks then

xPaw 06-06-2009 04:54

Re: need help with models to classes
 
Titanious next time watch funcwiki....

~Ice*shOt 06-06-2009 04:56

Re: need help with models to classes
 
not work's..

Arkshine 06-06-2009 04:58

Re: need help with models to classes
 
Same player, try again.


All times are GMT -4. The time now is 14:01.

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