Set player's hand model when no weapon
Is it possible to set player's hand sequence to knife or something when he doesn't have any weapon? It would be better, cause this way we can easily detect who has weapon and who hasn't. It's bugged like that if a player hasn't got any weapon, his hands are "modelled" to the weapon he used last time. I need it to always be knife animation.
|
Re: Set player's hand model when no weapon
Quote:
w....w... what? .. I didnt get any of that |
Re: Set player's hand model when no weapon
Backstabnoob, you better try to explain in others words, because right now, it doesn't make sense at all. ;)
|
Re: Set player's hand model when no weapon
1 Attachment(s)
It's hard to explain.
Look. When you have no weapon in your hands, the player model looks like you are holding the last one, but without it in the hands. Just the model is changed. What I need is, when there are no weapons in hands of an user, to set his animation to look like he had a knife. Look on the screenshot. On the first image, he had glock or something before. On the second one, he had knife. That is what I want. I need to set model of hands to always look like he used knife, no matter what weapon he had before. |
Re: Set player's hand model when no weapon
What hes trying to say is that, he doesnt want the players hands looking like he's holding a weapon that he was holding before as you can see in his screenshot the first one looks like hes holding a Glock and second looks like hes holding a knife... he doesnt want it to appear like that
|
Re: Set player's hand model when no weapon
Try to replace in plugins strip_user_weapons(id) with Cs_Strip_User_Weapons( id )
Put this stock at the end of .sma PHP Code:
|
Re: Set player's hand model when no weapon
I'm not using strip_user_weapons, I just have a plugin that makes players able to drop the knife. Will it be fine to check if player has no weapon on CurWeapon event, then do that set_pdata_int thing?
Edit: Like this? PHP Code:
|
Re: Set player's hand model when no weapon
Set the private data has no effect on animation.
Should be another way to force animation. Can you post that plugin that allow knife drop ? Is is for jail break server ? |
Re: Set player's hand model when no weapon
1 Attachment(s)
I use advanced respawn and I only edited that when you respawn, the plugin doesn't give you default weapons(USP/glock, knife). The knife drop plugin is here: http://forums.alliedmods.net/showthread.php?p=935486
What about setting players model to one without knife? It's jailbreak's bknuckles p_ animation. It's in attachments. |
| All times are GMT -4. The time now is 05:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.