• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Keybinds
#1
Question 
is there any way i can detect other keybinds for?example



Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)

{

? ? ?if((newkeys & KEY_P) || (newkeys & KEY_Z))

? ? ?{

? ? ? ? ? // which is detecting the key "P" or key "Z"

? ? ?}

? ? ?return 1;

}
  Reply


Messages In This Thread
Keybinds - by GeorgeXCarl - 2021-07-17, 04:17 AM
RE: Keybinds - by Kwarde - 2021-07-17, 07:40 AM

Forum Jump: