SA-MP Forums Archive
Shooting help. - 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: Shooting help. (/showthread.php?tid=433438)



Shooting help. - LuckyPlaya` - 27.04.2013

When i have a gun,and sit on bike i am amble to shoot from him. How can i make that when i get on the bike that gun moves from hand?


Re: Shooting help. - MP2 - 27.04.2013

SetPlayerArmedWeapon to 0 under OnPlayerStateChange to newstate PLAYER_STATE_DRIVER/PASSENGER.