public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ if(newkeys & YOUR_KEY) { OnPlayerCommandText("/refuel"); } return true;}