Set player model through menu
ok so here is the deal,
I have a menu with 2 items: Choose Item : 1.Item a 2.Item a Now when i choose Item a , i want it to give me a custom model. i tried cs_set_model , but i cannot add my custom model. my custom model location is in model/player/luffy/luffy.mdl Ill thank any1 who helps me , (I wish the karma function was still there , so i could atleast say +k for any1 who helps -.-) FLAMERS = please donot flame xD |
Re: Set player model through menu
This has nothing to do with menus btw.
The folder should be "models" not "model". The correct function to use is cs_set_user_model(). I believe you reference the model by just the filename without extension so in your case it would be "luffy". |
Re: Set player model through menu
Quote:
|
Re: Set player model through menu
Quote:
It's only when you are doing the cs_set_user_model(id, "luffy") that you wouldn't need it. P.S. fysiks I know you knew that, I'm just clearing it up in case anyone misunderstood. :) |
Re: Set player model through menu
Quote:
|
Re: Set player model through menu
Quote:
|
Re: Set player model through menu
if i use cs_set_user_model its not required to precache the model
|
Re: Set player model through menu
Quote:
Correct me if i'm wrong. |
Re: Set player model through menu
umm , i dint get anything like that , even when i had 21 players on my server O.o, i used cs_set_user_model , hannah dude/girl can we be friends -.-
|
Re: Set player model through menu
If you don't precache it nobody will have it in memory and it cannot be used (unless another plugin precached it already obviously).
|
| All times are GMT -4. The time now is 14:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.