vip clothes
how can i set vip clothes to a player?
|
Re: vip clothes
Same way you would give a player any other clothes, just set "vip" model on him.
|
Re: vip clothes
code?
this? PHP Code:
|
Re: vip clothes
"models/player/vip.mdl" doesn't exist.
Correct path is : "models/player/vip/vip.mdl" But correct way to use cs_set_user_model is : cs_set_user_model(id, "vip") but cs_set_user_model is known to be buggy when used on player where there is more than 16 players, let's search for alternative ways on the forum. |
Re: vip clothes
should i add this:new const g_Model1[]="models/player/vip/vip.mdl" for cs_set_user_model
|
Re: vip clothes
cs_set_user_model only takes the model's name, not filepath. You precache the filepath but use the model name to set it.
precache_model("models/player/vip/vip.mdl"); cs_set_user_model(id, "vip"); |
Re: vip clothes
thanks
|
Re: vip clothes
Use this simply for VIP model
PHP Code:
|
Re: vip clothes
Quote:
|
Re: vip clothes
Hey there,
What does precache do?? Do I need to precache my model so Clients will download that model when connecting to my server? Where to use precache,Above plugin_init,Or before using that model? |
| All times are GMT -4. The time now is 06:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.