Posts: 152
Threads: 24
Joined: Aug 2014
Reputation:
0
hello everyone, i want to use if(IsKeyJustDown(PED_CYCLE_WEAPON_LEFT, newkeys, oldkeys)) it in OnPlayerKeyStateChange but it says undefined symbol PED_CYCLE_WEAPON_LEFT.....cuz its not added in a_samp.inc so is there any way of using it?
Posts: 152
Threads: 24
Joined: Aug 2014
Reputation:
0
i know that buddy...but i believe that there must be a way of using.....I just wanna check that when player cycle next or previous weapon.
Posts: 152
Threads: 24
Joined: Aug 2014
Reputation:
0
no, actually i wanna check if player click these buttons....e.g i change weapons with q and e so i wanna check if a player click any of these buttons....NOT if he cycles left or right.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Posts: 152
Threads: 24
Joined: Aug 2014
Reputation:
0
ohhh so theres no way to check it?
Posts: 152
Threads: 24
Joined: Aug 2014
Reputation:
0
actually i wanna block these keys so players don't take out guns by pressing these keys......and they should only be able to take out weapons by the command i'll make
Posts: 1,840
Threads: 399
Joined: Oct 2010
Reputation:
0
Why you dont disarm the player and when the player use the command you give a weapon to the player.
Posts: 152
Threads: 24
Joined: Aug 2014
Reputation:
0
but they should buy the weapon first.....like the way u saying there will be no use of weapons license and ammunition the......