2021-07-17, 04:17 AM
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;
}