AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Changing weapon origins. (https://forums.alliedmods.net/showthread.php?t=127409)

fezh 05-20-2010 19:15

Changing weapon origins.
 
I mean I want to change v_ model through a plugin (it can be done with model viewer utility too, but I'm not using it because I want this for multiplayer). I know there is a way with FM/Engine, but I can't remember it.

Brreaker 05-21-2010 09:05

Re: Changing weapon origins.
 
entity_set_model() i think...

unnyquee 05-21-2010 09:53

Re: Changing weapon origins.
 
PHP Code:

set_pev(iClientpev_viewmodel2"v_model"); 


fezh 05-21-2010 10:03

Re: Changing weapon origins.
 
Just wondering, why are you assuming I want to change models?
PS: By the way, that's wrong. To change "view" models you should use pev_viewmodel(2).

unnyquee 05-21-2010 10:09

Re: Changing weapon origins.
 
Oh!
Your description made fun of me ^^.
I didn't understood your problems, therefore I wrote something else..
Sorry for that.

fezh 05-21-2010 10:10

Re: Changing weapon origins.
 
Quote:

Originally Posted by unnyquee (Post 1186801)
Oh!
Your description made fun of me ^^.
I didn't understood your problems, therefore I wrote something else..
Sorry for that.

It's easy to understand if you do so with simple english.

unnyquee 05-21-2010 10:21

Re: Changing weapon origins.
 
I'm too much of a sleepy head ATM ^^.


All times are GMT -4. The time now is 03:40.

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