Raised This Month: $51 Target: $400
 12% 

Model Changer Isn't Working


Post New Thread Reply   
 
Thread Tools Display Modes
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-30-2005 , 13:48  
Reply With Quote #41

World, the view of it laying on the ground. Which I don't see the purpose of having a w_ model for a knife if you can't drop it.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 05-31-2005 , 04:32  
Reply With Quote #42

...he's right...
Why didn't u just look at the engine module???
i just started with amxx and all i do is look at the incs etc.

and v3x shouldn';t be told to stfu as he is
contributing what is CORRECT.

__________________
Tupac is offline
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 05-31-2005 , 05:31  
Reply With Quote #43

hey !
it's front line
__________________

www.psmod.net (the better psychostats)
PAOL
Proach is offline
Send a message via ICQ to Proach
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 05-31-2005 , 19:05  
Reply With Quote #44

Ok, It works As This

Code:
#pragma tabsize 0 #include <amxmodx> #include <engine> public plugin_init() {     register_plugin("Knife model","0.1","v3x")     register_event("CurWeapon","weapon_event","be") } public plugin_precache() {         precache_model("p_knife15.mdl")     precache_model("v_knife15.mdl") } public weapon_event(id) {         new clip,ammo     new weapon = get_user_weapon(id,clip,ammo)     if(weapon == CSW_KNIFE) {         entity_set_string(id,EV_SZ_viewmodel,"p_knife15.mdl")     entity_set_string(id,EV_SZ_weaponmodel,"v_knife15.mdl")     }         return PLUGIN_CONTINUE }

Now, When I Take A Grenade Out It Is The Knife,

But Left Handed.

Should I also add the nade model in too?

Like This?

Code:
#pragma tabsize 0 #include <amxmodx> #include <engine> public plugin_init() {     register_plugin("Knife model","0.1","v3x")     register_event("CurWeapon","weapon_event","be") } public plugin_precache() {     precache_model("p_knife15.mdl")     precache_model("v_knife15.mdl")     precache_model("models/p_hegrenade.mdl")     precache_model("models/v_hegrenade.mdl") } public weapon_event(id) {         new clip,ammo     new weapon = get_user_weapon(id,clip,ammo)     if(weapon == CSW_KNIFE) {     entity_set_string(id,EV_SZ_weaponmodel,"p_knife15.mdl")     entity_set_string(id,EV_SZ_viewmodel,"v_knife15.mdl")     } if(weapon == CS_HEGRENADE) {     entity_set_string(id,EV_SZ_weaponmodel,"p_hegrenade.mdl")     entity_set_string(id,EV,SZ_viewmodel,"v_hegrenade.mdl")         return PLUGIN_CONTINUE }
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-31-2005 , 23:30  
Reply With Quote #45

Why not just keep the model paths same for both weaps?
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 06-01-2005 , 08:17  
Reply With Quote #46

what if you do
Code:
entity_set_string(id,EV_SZ_weaponmodel,"models/weapons/p_knife15.mdl")     entity_set_string(id,EV_SZ_viewmodel,"models/weaponsv_knife15.mdl")
Code:
entity_set_string(id,EV_SZ_weaponmodel,"models/weapons/p_hegrenade.mdl")     entity_set_string(id,EV,SZ_viewmodel,"models/weapons/v_hegrenade.mdl")
i don't see what is wrong with it
__________________
- Bye bye!
nightscreem 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 01:10.


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