[Request] For a Animation-Concerning Filterscript
#1

Hi there, i was Wondering, if anyone could help me with doing a Little Filterscript, it its possible to do that.

a) I am hosting a Roleplay server & i'd like to have the 'realistic weapons holding' like in MTA or Single Player.
(Like, if you got a Shotgun, Combat, m4, ak, sniper, you hold it with 2 hands, and if you hold a Rocket launcher, it will be on your Shoulder) instead of the normal 'having it in ur hand' thing.

b) i would like to know the Library and Name of the Animations which are used to take cover behind a wall, on either the left or the right side (its in a SWAT library i believe). Its a chain of 4 Animations (beeing leanes against a wall -> Look around the corner -> twist around and shoot -> get back in cover), and these two are there for both directions (left and right). i'd like to know the 'names' of those animations, to make a cmnd for them.
Reply
#2

a) https://sampwiki.blast.hk/wiki/SetPlayerSkillLevel
Reply
#3

Uhm, as far as i know is this about the Skil level of the Weapons, and it only decides wheter you can Walk while Aiming /shoot while aming / have dual wield when USING the gun.

It does not influence the Animation which is used to hold ( NOT aiming, just stand there and hold) a weapon at all.
Reply
#4

On gamemode init:

UsePlayerPedAnims();

On player spawn:

SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL, 200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_UZI, 200);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SAWNOFF, 200);
Reply
#5

Why are you all coming on with that weapon skill?
Weapon skill does NOT influence the animation you have when you are holding the gun in your hand! :-<

What i mean is: Player X has got an M4 in his hand. In my server he is jsut standing there, and the M4 is hanging on his Right hand.
What i want: he is standing there, the rleft arm lifted up, the barrel of the M4 in his left hand while in his right hand he got the trigger. and NOT!!!!!!!!!!!!!!! while aiming or shooting, jsut if you are standing there with the gun in ur hand!

I hope this UsePlayerPedAnims does the job, but why is the weapon skill going with it?
And will UsePlayerPedAnims influence other anims like the walkign style, or is the walking style still skin-concerning?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)