SA-MP Forums Archive
Assult Weapon in both hands - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Assult Weapon in both hands (/showthread.php?tid=420277)



Assult Weapon in both hands - GrayFoxx - 04.03.2013

Hi people,
I wanna ask you can you make/give me a script file for holding some riffle weapons in 2 hands like this or just make a one tutorial for it.
On RP server where i am playing, i have that riffle wepaon in one hand which will encrase my running speed (which is non rp) ,so if you can script that for me, I would be very gratefull.

Cheers!


Re: Assult Weapon in both hands - Gaurav_Rawat - 04.03.2013

U want to have guns on both hands ?

SetPlayerSkillLevel(playerid, WEAPONSKILL_Gun Name, Level);


Re: Assult Weapon in both hands - nor15 - 04.03.2013

Is the script make you run with the Riffle weapon in one hand ?


Re: Assult Weapon in both hands - GrayFoxx - 04.03.2013

Quote:
Originally Posted by nor15
Посмотреть сообщение
Is the script make you run with the Riffle weapon in one hand ?
Yep , I run with m4 in one hand.


Re: Assult Weapon in both hands - nor15 - 04.03.2013

Put this under OnGamemodeInit

UsePlayerPedAnims();


Re: Assult Weapon in both hands - GrayFoxx - 04.03.2013

I ll' reply if this doesn't work. By the way , Thanks! :P


Re: Assult Weapon in both hands - GrayFoxx - 04.03.2013

There is one problem here, i wanna put that ,but when i put that i need to remove running animation to CJ run animation which sucks :P Little help?


Re: Assult Weapon in both hands - nor15 - 04.03.2013

Quote:
Originally Posted by GrayFoxx
Посмотреть сообщение
There is one problem here, i wanna put that ,but when i put that i need to remove running animation to CJ run animation which sucks :P Little help?
This is related if you removed this code it will remove CJ's run but it will run wis an riffle in one hand