AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   cs_set_user_model (https://forums.alliedmods.net/showthread.php?t=168430)

BlinkHardeR 09-29-2011 01:27

cs_set_user_model
 
cs_set_user_model(id, "vip")

so i need other models then VIP.. anything.

and... idk why but it wont chance the freaking model..

jimaway 09-29-2011 05:41

Re: cs_set_user_model
 
you need to prechace the model

BlinkHardeR 09-29-2011 06:02

Re: cs_set_user_model
 
what do you mean?

jimaway 09-29-2011 06:04

Re: cs_set_user_model
 
i mean precache_model

BlinkHardeR 09-29-2011 06:05

Re: cs_set_user_model
 
Quote:

Originally Posted by jimaway (Post 1565174)

i'm new in this but... explain.

jimaway 09-29-2011 06:13

Re: cs_set_user_model
 
Quote:

precache_model - Precaches a model file
Syntax:

precache_model ( const name[] )
Type:

Native
Notes:

Only call this in the plugin_precache() forward.
->
PHP Code:

public plugin_precache() {
    
precache_model("models/modelname.mdl")


you probably have this in the code you want to edit, just change path to what you want

BlinkHardeR 09-29-2011 06:14

Re: cs_set_user_model
 
Quote:

Originally Posted by jimaway (Post 1565179)
->
PHP Code:

public plugin_precache() {
    
precache_model("models/modelname.mdl")


you probably have this in the code you want to edit, just change path to what you want

well.. where i can find every player model?

jimaway 09-29-2011 06:20

Re: cs_set_user_model
 
WAT? post this in requests requests section, since you probably can't write a single line of code yourself

BlinkHardeR 09-29-2011 06:39

Re: cs_set_user_model
 
i just need the 8 basic models of CT and T [4 and 4]


All times are GMT -4. The time now is 19:30.

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