if (strcmp(cmdtext, "/exit", true)== 0) { if(IsPlayerInAnyVehicle(playerid)) { RemovePlayerFromVehicle(playerid); } else { SendClientMessage(playerid, 0xFF0000AA, "Not in a vehicle"); } return 1; }