Posts: 836
Threads: 107
Joined: Sep 2010
Reputation:
0
I use GivePlayerWeapon(playerid,0,0) and GivePlayerWeapon(playerid,0,1) and GivePlayerWeapon(playerid,0,-1) and none will work. I just don't want a player to use any SMG while driving a bike and i don't want to rest the weapons. Any way to do this?
Posts: 836
Threads: 107
Joined: Sep 2010
Reputation:
0
Oh ok true. Well hmm. What can I do? Give them a camera with 1 ammo? XD
Posts: 2,524
Threads: 109
Joined: Sep 2009
Reputation:
0
Weapon 0 is fist. You can't give player weapon fist, as the player will always have fist, no matter what.
Posts: 6,129
Threads: 36
Joined: Jan 2009
You can use SetPlayerArmedWeapon(playerid, 0);
Posts: 836
Threads: 107
Joined: Sep 2010
Reputation:
0
Thanks Alot Calg00ne. It worked I did not even consider that function.