ConsoleCommand
Version 1.1+
This event is triggered when console (F11) input is done.
Client-Side Event
C# | JavaScript |
---|
JavaScript Syntax
Parameters
- command: String
Example
mp.events.add("consoleCommand", (command) => {
mp.console.logInfo('Hello world');
});
C# Syntax
// TODO
See also
Checkpoint
Colshape
Entity
Player
- playerChat
- playerCommand
- playerDamage
- playerDeath
- playerJoin
- playerQuit
- playerReady
- playerSpawn
- playerWeaponChange
Streaming
Vehicle
- playerStartEnterVehicle
- playerEnterVehicle
- playerStartExitVehicle
- playerExitVehicle
- trailerAttached
- vehicleDamage
- vehicleDeath
- vehicleHornToggle
- vehicleSirenToggle