Burgershot
[Pawn] Keybinds - Printable Version

+- Burgershot (https://www.burgershot.gg)
+-- Forum: SA-MP (https://www.burgershot.gg/forumdisplay.php?fid=3)
+--- Forum: Pawn Scripting (https://www.burgershot.gg/forumdisplay.php?fid=10)
+--- Thread: [Pawn] Keybinds (/showthread.php?tid=2179)



Keybinds - GeorgeXCarl - 2021-07-17

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;
}



RE: Keybinds - Kwarde - 2021-07-17

No
5char