Raised This Month: $32 Target: $400
 8% 

CSGO How to change player's arms after spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rsdtt
Senior Member
Join Date: Oct 2009
Old 02-12-2015 , 13:50   CSGO How to change player's arms after spawn
Reply With Quote #1

I know if I change player's arms when player spawn, it havent any problem.
but after spawn, SetEntPropString(client, Prop_Send, "m_szArmsModel", "models/player/*.mdl"),doesnt work

I found if spec change view target can change, so I try to:
SetEntProp(client, Prop_Send, "m_iObserverMode", 4)
SetEntPropEnt(client, Prop_Send, "m_hObserverTarget", 2)
and return to
SetEntProp(client, Prop_Send, "m_iObserverMode", 0)
SetEntPropEnt(client, Prop_Send, "m_hObserverTarget", -1)

it doesnt work, I saw a zr server fix this, but I dont know how it work
__________________
I am learning sm now

Last edited by rsdtt; 02-12-2015 at 13:51.
rsdtt is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-12-2015 , 14:24   Re: CSGO How to change player's arms after spawn
Reply With Quote #2

what do you mean they 'fixed it'
The only solution would be to respawn the player and set him exactly right where he was at + old velocity..
Mitchell is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 02-12-2015 , 14:37   Re: CSGO How to change player's arms after spawn
Reply With Quote #3

Can you provide ip of that server, so we can look at it?
KissLick is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-12-2015 , 15:31   Re: CSGO How to change player's arms after spawn
Reply With Quote #4

oh, almost forgot. i had some weird things happen when I tried setting my arm model, then give a gun. it was the default arm model. so maybe set the arm model then stip/re-equip the weapons?
Mitchell is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 02-13-2015 , 04:43   Re: CSGO How to change player's arms after spawn
Reply With Quote #5

Quote:
Originally Posted by Mitchell View Post
oh, almost forgot. i had some weird things happen when I tried setting my arm model, then give a gun. it was the default arm model. so maybe set the arm model then stip/re-equip the weapons?
I try to re-equip and other possible way after work
__________________
I am learning sm now
rsdtt is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 02-13-2015 , 11:27   Re: CSGO How to change player's arms after spawn
Reply With Quote #6

I found the way, remove all weapon and give weapon on next frame, that arms' model will change
__________________
I am learning sm now
rsdtt is offline
Reply


Thread Tools
Display Modes

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 08:49.


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