14.09.2013, 18:41
I want to use key "2" and key "3" How to define them ? ( https://sampwiki.blast.hk/wiki/Keys )
I want when player press key 2 or 3 to do my command
I want when player press key 2 or 3 to do my command
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_SUBMISSION)
{
// Your command stuff
}
return 1;
}