Raised This Month: $ Target: $400
 0% 

Setting weapon models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-26-2005 , 18:07   Setting weapon models
Reply With Quote #1

How would I go by setting the user's weapon model after it's been precached?

Ex: v_scout.mdl
__________________
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
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-26-2005 , 18:54  
Reply With Quote #2

entity_set_string(id,EV_SZ_viewmodel,"models/v_scout.mdl)
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-26-2005 , 18:58  
Reply With Quote #3

Danke

Oh, and.. you forgot to add another " in front of ) .
__________________
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
ledz1
BANNED
Join Date: Feb 2005
Location: 59756
Old 02-26-2005 , 19:01   u
Reply With Quote #4

u get the weapon model and u put it in cstrike/models/player/v_scout.mdl
nad yur done have fun!
ledz1 is offline
Send a message via ICQ to ledz1 Send a message via AIM to ledz1 Send a message via MSN to ledz1 Send a message via Yahoo to ledz1
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-26-2005 , 19:09   Re: u
Reply With Quote #5

Quote:
Originally Posted by ledz1
u get the weapon model and u put it in cstrike/models/player/v_scout.mdl
nad yur done have fun!
You are an idiot ..
__________________
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
Pain
Senior Member
Join Date: Aug 2004
Old 02-26-2005 , 19:09   Re: u
Reply With Quote #6

Quote:
Originally Posted by ledz1
u get the weapon model and u put it in cstrike/models/player/v_scout.mdl
nad yur done have fun!
LOL, I concur v3x.
Pain is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-26-2005 , 19:21  
Reply With Quote #7

If I wanted help installing a model, I probably wouldn't be posting in the "Scripting Help" section of the AMXX forums, doh..

__________________
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
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-26-2005 , 19:58  
Reply With Quote #8

entity_set_string(id,EV_SZ_model,"models/v_scout.mdl")

then have fun

*OMFG HES DA HAXORZ*
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-26-2005 , 20:36  
Reply With Quote #9

Wait, on this one server I downloaded a file called v_roscout.mdl ..

Hrm.. It didn't work for meh.. lol

Code:
#include <amxmodx> #include <amxmisc> #include <engine> #define PLUGIN    "Set models" #define AUTHOR    "v3x" #define VERSION    "1.00" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("CurModel", "setModel", "be") } public plugin_precache() { precache_model("models/v_LOCKscout.mdl") } public setModel(id) { entity_set_string(0,EV_SZ_viewmodel,"models/v_LOCKscout.mdl") return PLUGIN_HANDLED }
__________________
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
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-26-2005 , 22:06  
Reply With Quote #10

curmodel? whats that event do?
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
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 13:57.


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