public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys == KEY_YES) { return OnPlayerCommandText(playerid, "/motor"); } return true; }