Raised This Month: $ Target: $400
 0% 

How do you change models? [moved from Support/Help]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mr.noob.
Member
Join Date: Jun 2005
Old 07-01-2007 , 08:07   How do you change models? [moved from Support/Help]
Reply With Quote #1

I tried changing the default models on the server with the code given from other threads.
Code:
#include <amxmodx>
#include <cstrike>

public plugin_precache()
{
	precache_model("models/player/new/mytmodel.mdl")
	precache_model("models/player/new/myctmodel.mdl")
	
}
But it did nothing. and it has the same models as usual.
Any suggestions?
mr.noob. is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 07-01-2007 , 12:20   Re: How do you change models?
Reply With Quote #2

This post belongs in scripting help.

(Moved. -- mod)

Last edited by Greentryst; 07-01-2007 at 22:03.
mateo10 is offline
mr.noob.
Member
Join Date: Jun 2005
Old 07-02-2007 , 15:00   Re: How do you change models? [moved from Support/Help]
Reply With Quote #3

Thanks for moving
mr.noob. is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 07-02-2007 , 15:18   Re: How do you change models? [moved from Support/Help]
Reply With Quote #4

You change a model with either
Code:
cs_set_user_model(index, model[]);
or
Code:
engfunc(EngFunc_SetModel, index, model[]);

For the first way, you have to include the cstrike module. For the second one, you have to include the fakemeta module.
mateo10 is offline
mr.noob.
Member
Join Date: Jun 2005
Old 07-08-2007 , 21:39   Re: How do you change models? [moved from Support/Help]
Reply With Quote #5

If I were to change every T model, how would it look?
Sorry im kinda bad at this
mr.noob. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:35.


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