Problem while changing the player model
I got a serious problem, and I can't fix it. When I try to change the player model, it doesn't work correctly. I tried thousand of ideas, but it does not change the model correctly. What's wrong?
Code:
public plugin_init() I tried updating HLDS, but still doesn't change the model, same when testing in listen server... Maybe this happens on Steam version? If so, should I try in Non-Steam version? Cuz as I know it worked perfectly in Non-Steam version, I can't remember exactly... |
Re: Problem while changing the player model
Why are you setting a task for it in plugin_init anyways? why would you do that if u just want to set models? I would suggest setting the models when player has choosen a team, or has spawned using "Ham_Spawn". Use bools to check if the model is already active or not.
|
Re: Problem while changing the player model
Quote:
|
Re: Problem while changing the player model
Do you plan to set models every 0.1 seconds for the entire duration of the game? That's insane and totally unnecessary.
You should search and learn the proper way of dealing with models(hints: FM_SetClientKeyValue, FM_UpdateClientData). |
Re: Problem while changing the player model
Quote:
I don't know exactly what is going on? But my good idea, is to try testing in Non-Steam and I'll tell you what happened. Thanks anyway for helping me, but still doesn't work correctly on all bots |
Re: Problem while changing the player model
Quote:
|
Re: Problem while changing the player model
Quote:
|
Re: Problem while changing the player model
Quote:
|
Re: Problem while changing the player model
Use Mercylezz's player model api plug-in.
|
Re: Problem while changing the player model
Can you tell us which bots are switching back to default models?
|
All times are GMT -4. The time now is 15:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.