help!HOW to change a player's model by amx1.8?
"entity_set_model" is no effect, who can help me?Thanks a lot.
|
Re: help!HOW to change a player's model by amx1.8?
Code:
new const g_ModelName[] = "models/player/modelname/modelname.mdl"; |
Re: help!HOW to change a player's model by amx1.8?
sorry,I don't know if i #include <cstrike> ,the clcmd would no effect,but why entity_set_model is unefficient...
|
Re: help!HOW to change a player's model by amx1.8?
For Counter-Strike the easiest way is to add the cstrike module and use the method X-olent posted. The reason being is entity_set_model does not work for player models. It is for map and plugin created entities.
|
Re: help!HOW to change a player's model by amx1.8?
where can I study how add cstrike modules?
|
Re: help!HOW to change a player's model by amx1.8?
Just add the line...
#include <cstrike> ... to the top of your plugin near the other #includes |
Re: help!HOW to change a player's model by amx1.8?
But,when I add #include <cstrike>,my register_clcmd would be no effect...
Help, is my examination of my boss employing me. |
Re: help!HOW to change a player's model by amx1.8?
Don't remove the old includes, just add that new one.
|
Re: help!HOW to change a player's model by amx1.8?
Well,I have succeeded,I download the cstrike version and then succeeded...Thank you!
|
| All times are GMT -4. The time now is 11:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.