Lua documentation: commands (#1595)

* lua api: fix command call null context

* lua doc: generate commands doc
This commit is contained in:
Quentin 2023-07-05 00:31:06 +02:00 committed by GitHub
parent 76afd97185
commit abb7e17d83
5 changed files with 1132 additions and 2 deletions

863
docs/lua/commands.md Normal file
View File

@ -0,0 +1,863 @@
# Commands
All the current commands from the menu are listed below.
**Example Usage through Lua:**
```lua
command.call("spawn", {joaat("adder")})
command.call_player(somePlayerIndex, "spawn", {joaat("adder")})
```
For a complete list of available command functions, please refer to the command table documentation.
## Command Count: 212
### bailkick
BAIL_KICK_DESC
Arg Count: 1
### bailkickall
BAIL_KICK_DESC
Arg Count: 0
### breakup
BREAKUP_KICK_DESC
Arg Count: 1
### breakupcheating
BREAKUP_KICK_SHOW_CHEATING_DESC
Arg Count: 0
### desync
COMPLAINT_KICK_DESC
Arg Count: 1
### desyncall
COMPLAINT_KICK_DESC
Arg Count: 0
### endkick
END_KICK_DESC
Arg Count: 1
### hostkick
Host kick that only works when host
Arg Count: 1
### nfkick
NULL_FUNCTION_KICK_DESC
Arg Count: 1
### nfkickall
NULL_FUNCTION_KICK_DESC
Arg Count: 0
### oomkick
OOM_KICK_CMD_DESC
Arg Count: 1
### shkick
SCRIPT_HOST_KICK_DESC
Arg Count: 1
### clearwanted
CLEAR_WANTED_LEVEL_DESC
Arg Count: 1
### clearwantedall
CLEAR_WANTED_LEVEL_DESC
Arg Count: 0
### enterint
ENTER_INTERIOR_DESC
Arg Count: 1
### giveammo
GIVE_AMMO_DESC
Arg Count: 1
### giveammoall
GIVE_AMMO_DESC
Arg Count: 0
### givearmor
GIVE_ARMOR_DESC
Arg Count: 1
### givearmorall
GIVE_ARMOR_DESC
Arg Count: 0
### givehealth
GIVE_HEALTH_DESC
Arg Count: 1
### givehealthall
GIVE_HEALTH_DESC
Arg Count: 0
### joinceo
JOIN_CEO_DESC
Arg Count: 1
### copymodel
STEAL_IDENTITY_DESC
Arg Count: 1
### copyoutfit
STEAL_OUTFIT_DESC
Arg Count: 1
### ceokick
CEO_KICK_DESC
Arg Count: 1
### ceokickall
CEO_KICK_DESC
Arg Count: 0
### explode
EXPLODE_PLAYER_DESC
Arg Count: 1
### explodeall
EXPLODE_PLAYER_DESC
Arg Count: 0
### mission
FORCE_INTO_MISSION_DESC
Arg Count: 1
### missionall
FORCE_INTO_MISSION_DESC
Arg Count: 0
### giveweaps
GIVE_WEAPONS_DESC
Arg Count: 1
### giveweapsall
GIVE_WEAPONS_ALL_DESC
Arg Count: 0
### intkick
KICK_FROM_INTERIOR_DESC
Arg Count: 1
### intkickall
KICK_FROM_INTERIOR_DESC
Arg Count: 0
### vehkick
VEHICLE_KICK_DESC
Arg Count: 1
### vehkickall
VEHICLE_KICK_DESC
Arg Count: 0
### kill
KILL_PLAYER_DESC
Arg Count: 1
### killall
KILL_PLAYER_DESC
Arg Count: 0
### ragdoll
RAGDOLL_PLAYER_DESC
Arg Count: 1
### ragdollall
RAGDOLL_PLAYER_DESC
Arg Count: 0
### remweaps
REMOVE_ALL_WEAPONS_DESC
Arg Count: 1
### remweapsall
REMOVE_ALL_WEAPONS_DESC
Arg Count: 0
### fakeban
FAKE_BAN_MESSAGE_DESC
Arg Count: 1
### fakebanall
FAKE_BAN_MESSAGE_DESC
Arg Count: 0
### sext
SEND_SEXT_DESC
Arg Count: 1
### sextall
SEND_SEXT_DESC
Arg Count: 0
### apartmenttp
TP_TO_APARTMENT_DESC
Arg Count: 2
### apartmenttpall
TP_TO_APARTMENT_DESC
Arg Count: 1
### interiortp
TP_TO_INTERIOR_DESC
Arg Count: 2
### interiortpall
TP_TO_INTERIOR_DESC
Arg Count: 1
### warehousetp
TP_TO_WAREHOUSE_DESC
Arg Count: 2
### warehousetpall
TP_TO_WAREHOUSE_DESC
Arg Count: 1
### wanted
SET_WANTED_LEVEL_DESC
Arg Count: 2
### error
SHOW_TRANSACTION_ERROR_DESC
Arg Count: 1
### errorall
SHOW_TRANSACTION_ERROR_DESC
Arg Count: 0
### tutorial
Plays that unskippable cutscene used in the tutorial
Arg Count: 1
### tutorialall
Plays that unskippable cutscene used in the tutorial
Arg Count: 0
### golf
Starts golf
Arg Count: 1
### golfall
Starts golf
Arg Count: 0
### flightschool
Teleports player to the airport and starts flight school
Arg Count: 1
### flightschoolall
Teleports player to the airport and starts flight school
Arg Count: 0
### darts
Starts darts in a Sandy Shores bar
Arg Count: 1
### dartsall
Starts darts in a Sandy Shores bar
Arg Count: 0
### badlands
Starts the arcade game Badlands Revenge II in fullscreen
Arg Count: 1
### badlandsall
Starts the arcade game Badlands Revenge II in fullscreen
Arg Count: 0
### spacemonkey
Starts the arcade game Space Monkey 3 in fullscreen
Arg Count: 1
### spacemonkeyall
Starts the arcade game Space Monkey 3 in fullscreen
Arg Count: 0
### wizard
Starts the arcade game The Wizard's Ruin in fullscreen
Arg Count: 1
### wizardall
Starts the arcade game The Wizard's Ruin in fullscreen
Arg Count: 0
### qub3d
Starts the arcade game Qub3D in fullscreen
Arg Count: 1
### qub3dall
Starts the arcade game Qub3D in fullscreen
Arg Count: 0
### camhedz
Starts the arcade game Camhedz in fullscreen
Arg Count: 1
### camhedzall
Starts the arcade game Camhedz in fullscreen
Arg Count: 0
### ceoraid
TRIGGER_CEO_RAID_DESC
Arg Count: 1
### ceoraidall
TRIGGER_CEO_RAID_DESC
Arg Count: 0
### beast
TURN_INTO_BEAST_DESC
Arg Count: 1
### beastall
TURN_INTO_BEAST_ALL_DESC
Arg Count: 0
### bring
BRING_DESC
Arg Count: 1
### bringall
BRING_ALL_DESC
Arg Count: 0
### bounty
BOUNTY_DESC
Arg Count: 1
### bountyall
BOUNTY_DESC
Arg Count: 0
### anonbounty
BOUNTY_ANON_DESC
Arg Count: 0
### playertp
TELEPORT_DESC
Arg Count: 1
### playervehtp
TELEPORT_INTO_VEHICLE_DESC
Arg Count: 1
### boostveh
Boosts their car very fast.
Arg Count: 1
### boostvehall
Boosts their car very fast.
Arg Count: 0
### burstwheels
Removes their tyres.
Arg Count: 1
### burstwheelsall
Removes their tyres.
Arg Count: 0
### closedoors
Closes all vehicle doors
Arg Count: 1
### closedoorsall
Closes all vehicle doors
Arg Count: 0
### downgradeveh
Removes all upgrades
Arg Count: 1
### downgradevehall
Removes all upgrades
Arg Count: 0
### flip180
Rotates their car around
Arg Count: 1
### flip180all
Rotates their car around
Arg Count: 0
### flyingveh
Catapults their car to the sky.
Arg Count: 1
### flyingvehall
Catapults their car to the sky.
Arg Count: 0
### killengine
Breaks their engine
Arg Count: 1
### killengineall
Breaks their engine
Arg Count: 0
### lockveh
Locks vehicle doors
Arg Count: 1
### lockvehall
Locks vehicle doors
Arg Count: 0
### opendoors
Opens all vehicle doors
Arg Count: 1
### opendoorsall
Opens all vehicle doors
Arg Count: 0
### rcplayer
Take control of the player's vehicle. Spectate the player beforehand for best results
Arg Count: 1
### smashwindows
Smashes all their windows
Arg Count: 1
### smashwindowsall
Smashes all their windows
Arg Count: 0
### stopveh
Stops players vehicle
Arg Count: 1
### stopvehall
Stops players vehicle
Arg Count: 0
### unlockveh
Unlocks Vehicle Doors
Arg Count: 1
### unlockvehall
Unlocks Vehicle Doors
Arg Count: 0
### upgradeveh
Upgrades players vehicle
Arg Count: 1
### upgradevehall
Upgrades players vehicle
Arg Count: 0
### blacktint
Makes their windows black.
Arg Count: 1
### blacktintall
Makes their windows black.
Arg Count: 0
### fillammo
Fills all of your ammo.
Arg Count: 0
### beastjump
Allows you to jump as if you were the beast like in the Hunt the Beast event
Arg Count: 0
### clean
Cleans the player of wetness and decals
Arg Count: 0
### clearwantedlvl
Clears your wanted level
Arg Count: 0
### fillsnacks
Refills snacks and armor
Arg Count: 0
### heal
HEAL_DESC
Arg Count: 0
### repairpv
Repairs your currently active personal vehicle
Arg Count: 0
### boatpickup
Request a boat pickup
Arg Count: 0
### ballisticarmor
Requests ballistic equipment which includes ballistic armor and an minigun
Arg Count: 0
### skipcutscene
Skips the currently playing cutscene
Arg Count: 0
### suicide
Kills you
Arg Count: 0
### superjump
Jump really high
Arg Count: 0
### spawn
Spawn a vehicle with the specified model
Arg Count: 1
### spawnmaxed
Controls whether the vehicle spawned will have its mods maxed out
Arg Count: 0
### spawnin
Controls whether the player should be set inside the vehicle after it spawns
Arg Count: 0
### fastquit
We all have bad times sometimes. Close your GTA instant.
Arg Count: 0
### bringpv
Teleports your PV near you
Arg Count: 0
### lastvehtp
Teleports you into your last driven vehicle
Arg Count: 0
### objectivetp
Teleports you to your mission objective
Arg Count: 0
### pvtp
Teleports you into your PV
Arg Count: 0
### waypointtp
Teleports you to your waypoint
Arg Count: 0
### hudcolor
Override HUD colors
Arg Count: 0
### cleanloop
KEEP_PLAYER_CLEAN_DESC
Arg Count: 0
### fastrespawn
INSTANT_RESPAWN_DESC
Arg Count: 0
### freecam
FREECAM_DESC
Arg Count: 0
### godmode
GODMODE_DESC
Arg Count: 0
### healthregen
HEALTH_REGEN_DESC
Arg Count: 0
### invis
INVISIBILITY_DESC
Arg Count: 0
### localvis
LOCAL_VISIBILITY_DESC
Arg Count: 0
### mobileradio
MOBILE_RADIO_DESC
Arg Count: 0
### nocollision
NO_COLLISION_DESC
Arg Count: 0
### noragdoll
NO_RAGDOLL_DESC
Arg Count: 0
### walkunder
WALK_UNDERWATER_DESC
Arg Count: 0
### noclip
NO_CLIP_DESC
Arg Count: 0
### otr
OFF_RADAR_DESC
Arg Count: 0
### ptfx
PTFX_CMD_DESC
Arg Count: 0
### fastrun
SUPER_RUN_DESC
Arg Count: 0
### superman
SUPERMAN_DESC
Arg Count: 0
### infoxy
UNLIMITED_OXYGEN_DESC
Arg Count: 0
### autotptowp
Automatically teleports you to a waypoint as soon as you set one
Arg Count: 0
### vcaudio
Plays the audio.wav file in the project folder through voice chat. The wave file must be encoded with a mono 16 bit 16kHz PCM format. You have to reset voice chat settings whenever you load the menu for the sound to play
Arg Count: 0
### nophone
Blocks phone and stops all phone calls
Arg Count: 0
### noidlekick
Prevents you from being kicked while idling.
Arg Count: 0
### blockhoming
Prevents homing missiles from locking on to your vehicle
Arg Count: 0
### mutesiren
Disables the siren sound of Emergency vehicles
Arg Count: 0
### driveonwater
Allows you to drive on water
Arg Count: 0
### vehiclefly
Fly with any land vehicle
Arg Count: 0
### hornboost
Boosts your vehicle forward when you sound the horn
Arg Count: 0
### instantbrake
Makes your vehicle stop instantly when you press the brake
Arg Count: 0
### invisveh
Makes your car invisible
Arg Count: 0
### localinvisveh
Makes your car visible to yourself, other players will still not be able to see it
Arg Count: 0
### keepengine
Keeps the engine running when you exit the vehicle
Arg Count: 0
### keeponground
Makes it so your vehicle is always on the ground on all four wheels
Arg Count: 0
### keepfixed
Keeps your vehicle free of wear and tear
Arg Count: 0
### vehnocollision
Same as Ped No Collision, except this is global and also affects Ped
Arg Count: 0
### driveunder
Allows you to drive underwater
Arg Count: 0
### rainbowpri
Applies active rainbow effect to the current vehicle's primary color
Arg Count: 0
### rainbowsec
Applies active rainbow effect to the current vehicle's secondary color
Arg Count: 0
### rainbowneons
Applies active rainbow effect to the current vehicle's neon color
Arg Count: 0
### rainbowsmoke
Applies active rainbow effect to the current vehicle's tire smoke color
Arg Count: 0
### rainbowspeed
Speed of the rainbow paint effect
Arg Count: 1
### seatbelt
Prevent you from falling off bikes or flying through the windshield
Arg Count: 0
### speedometer
Enable/disable the speedo meter for vehicles.
Arg Count: 0
### speedometergears
Adds the current gear the vehicle is in to the speedo meter.
Arg Count: 0
### speedometerleftside
Aligns the speedo meter text to the left instead of to the right.
Arg Count: 0
### turnsignals
Makes your car invisible
Arg Count: 0
### vehallweapons
Allows you to use all weapons in vehicle
Arg Count: 0
### vehgodmode
Prevents your vehicle from taking any form of damage
Arg Count: 0
### vehjump
Makes the vehicle jump when you press the handbrake
Arg Count: 0
### aimbot
Lock on and kill
Arg Count: 0
### smoothing
Controls the snappiness of your lock on
Arg Count: 0
### aimatplayer
If you suck at PVP, this is for you
Arg Count: 0
### aimatnpc
Generally kills normal NPCs
Arg Count: 0
### aimatpolice
Locks onto cops to kill
Arg Count: 0
### aimatenemy
Eliminate your enemies, and win your missions
Arg Count: 0
### incrdamage
Sets your damage to whatever you want
Arg Count: 0
### infammo
Never run out of ammo again
Arg Count: 0
### infclip
Shoot forever without needing to reload
Arg Count: 0
### infrange
Kill anything at any distance
Arg Count: 0
### norecoil
Removes weapon recoil when shooting
Arg Count: 0
### nospread
Removes weapon spread when shooting
Arg Count: 0
### rapidfire
Makes your weapon fire insanely fast
Arg Count: 0
### triggerbot
Shoots at a ped with fast ease
Arg Count: 0
### blackhole
Spawns a blackhole that picks up all the peds and vehicles in your area
Arg Count: 0
### blackholeincpeds
Includes all nearby peds in the blackhole's path of destruction
Arg Count: 0
### blackholeincvehs
Includes all nearby vehicles in the blackhole's path of destruction
Arg Count: 0
### autodisarm
Disarm nearby pedestrians
Arg Count: 0
### riotmode
Make nearby peds attack each other
Arg Count: 0
### highalert
Not the CoD perk
Arg Count: 0
### pedsignore
Nearby peds will ignore you and become oblivious to your actions
Arg Count: 0
### pedrush
Makes the nearby peds move with a purpose
Arg Count: 0
### pedrain
Will pour down and rain nearby peds
Arg Count: 0
### vehiclerain
Drops surrounding vehicles, vehicles can hit and kill you!
Arg Count: 0
### timeoverride
Overrides current time. This is local and cannot be seen by other players
Arg Count: 0
### weatheroverride
Overrides current weather. This is local and cannot be seen by other players
Arg Count: 0
### orbitaldrone
Enables/Disables the orbital drone
Arg Count: 0
### player_db_auto_update_states
Toggling this feature will automatically update the player online states every 5minutes.
Arg Count: 0
### vehiclecontrol
Enables/Disables the vehicle controller.
Arg Count: 0
### cmdexecutor
Toggles the command executor window
Arg Count: 0

212
docs/lua/commands_dump.txt Normal file
View File

@ -0,0 +1,212 @@
[19:05:57.0610103][INFO/command.cpp:45] Command | bailkick | BAIL_KICK | BAIL_KICK_DESC | 1
[19:05:57.0611656][INFO/command.cpp:45] Command | bailkickall | BAIL_KICK | BAIL_KICK_DESC | 0
[19:05:57.0611769][INFO/command.cpp:45] Command | breakup | BREAKUP_KICK | BREAKUP_KICK_DESC | 1
[19:05:57.0611876][INFO/command.cpp:45] Command | breakupcheating | BREAKUP_KICK_SHOW_CHEATING | BREAKUP_KICK_SHOW_CHEATING_DESC | 0
[19:05:57.0612078][INFO/command.cpp:45] Command | desync | COMPLAINT_KICK | COMPLAINT_KICK_DESC | 1
[19:05:57.0612135][INFO/command.cpp:45] Command | desyncall | COMPLAINT_KICK | COMPLAINT_KICK_DESC | 0
[19:05:57.0612238][INFO/command.cpp:45] Command | endkick | END_KICK | END_KICK_DESC | 1
[19:05:57.0612302][INFO/command.cpp:45] Command | hostkick | Host Kick | Host kick that only works when host | 1
[19:05:57.0612407][INFO/command.cpp:45] Command | nfkick | NULL_FUNCTION_KICK | NULL_FUNCTION_KICK_DESC | 1
[19:05:57.0612461][INFO/command.cpp:45] Command | nfkickall | NULL_FUNCTION_KICK | NULL_FUNCTION_KICK_DESC | 0
[19:05:57.0612564][INFO/command.cpp:45] Command | oomkick | OOM_KICK_CMD | OOM_KICK_CMD_DESC | 1
[19:05:57.0612623][INFO/command.cpp:45] Command | shkick | SCRIPT_HOST_KICK | SCRIPT_HOST_KICK_DESC | 1
[19:05:57.0612764][INFO/command.cpp:45] Command | clearwanted | CLEAR_WANTED_LEVEL | CLEAR_WANTED_LEVEL_DESC | 1
[19:05:57.0612820][INFO/command.cpp:45] Command | clearwantedall | CLEAR_WANTED_LEVEL | CLEAR_WANTED_LEVEL_DESC | 0
[19:05:57.0612904][INFO/command.cpp:45] Command | enterint | ENTER_INTERIOR | ENTER_INTERIOR_DESC | 1
[19:05:57.0613008][INFO/command.cpp:45] Command | giveammo | GIVE_AMMO | GIVE_AMMO_DESC | 1
[19:05:57.0613067][INFO/command.cpp:45] Command | giveammoall | GIVE_AMMO | GIVE_AMMO_DESC | 0
[19:05:57.0613120][INFO/command.cpp:45] Command | givearmor | GIVE_ARMOR | GIVE_ARMOR_DESC | 1
[19:05:57.0613167][INFO/command.cpp:45] Command | givearmorall | GIVE_ARMOR | GIVE_ARMOR_DESC | 0
[19:05:57.0613326][INFO/command.cpp:45] Command | givehealth | GIVE_HEALTH | GIVE_HEALTH_DESC | 1
[19:05:57.0613376][INFO/command.cpp:45] Command | givehealthall | GIVE_HEALTH | GIVE_HEALTH_DESC | 0
[19:05:57.0613918][INFO/command.cpp:45] Command | joinceo | JOIN_CEO | JOIN_CEO_DESC | 1
[19:05:57.0614020][INFO/command.cpp:45] Command | copymodel | STEAL_IDENTITY | STEAL_IDENTITY_DESC | 1
[19:05:57.0614114][INFO/command.cpp:45] Command | copyoutfit | STEAL_OUTFIT | STEAL_OUTFIT_DESC | 1
[19:05:57.0614209][INFO/command.cpp:45] Command | ceokick | CEO_KICK | CEO_KICK_DESC | 1
[19:05:57.0614254][INFO/command.cpp:45] Command | ceokickall | CEO_KICK | CEO_KICK_DESC | 0
[19:05:57.0614683][INFO/command.cpp:45] Command | explode | EXPLODE_PLAYER | EXPLODE_PLAYER_DESC | 1
[19:05:57.0614738][INFO/command.cpp:45] Command | explodeall | EXPLODE_PLAYER | EXPLODE_PLAYER_DESC | 0
[19:05:57.0614795][INFO/command.cpp:45] Command | mission | FORCE_INTO_MISSION | FORCE_INTO_MISSION_DESC | 1
[19:05:57.0614845][INFO/command.cpp:45] Command | missionall | FORCE_INTO_MISSION | FORCE_INTO_MISSION_DESC | 0
[19:05:57.0614954][INFO/command.cpp:45] Command | giveweaps | GIVE_WEAPONS | GIVE_WEAPONS_DESC | 1
[19:05:57.0615007][INFO/command.cpp:45] Command | giveweapsall | GIVE_WEAPONS | GIVE_WEAPONS_ALL_DESC | 0
[19:05:57.0615190][INFO/command.cpp:45] Command | intkick | KICK_FROM_INTERIOR | KICK_FROM_INTERIOR_DESC | 1
[19:05:57.0615245][INFO/command.cpp:45] Command | intkickall | KICK_FROM_INTERIOR | KICK_FROM_INTERIOR_DESC | 0
[19:05:57.0615294][INFO/command.cpp:45] Command | vehkick | VEHICLE_KICK | VEHICLE_KICK_DESC | 1
[19:05:57.0615341][INFO/command.cpp:45] Command | vehkickall | VEHICLE_KICK | VEHICLE_KICK_DESC | 0
[19:05:57.0615386][INFO/command.cpp:45] Command | kill | KILL_PLAYER | KILL_PLAYER_DESC | 1
[19:05:57.0615431][INFO/command.cpp:45] Command | killall | KILL_PLAYER | KILL_PLAYER_DESC | 0
[19:05:57.0615477][INFO/command.cpp:45] Command | ragdoll | RAGDOLL_PLAYER | RAGDOLL_PLAYER_DESC | 1
[19:05:57.0615522][INFO/command.cpp:45] Command | ragdollall | RAGDOLL_PLAYER | RAGDOLL_PLAYER_DESC | 0
[19:05:57.0615614][INFO/command.cpp:45] Command | remweaps | REMOVE_ALL_WEAPONS | REMOVE_ALL_WEAPONS_DESC | 1
[19:05:57.0615666][INFO/command.cpp:45] Command | remweapsall | REMOVE_ALL_WEAPONS | REMOVE_ALL_WEAPONS_DESC | 0
[19:05:57.0615768][INFO/command.cpp:45] Command | fakeban | FAKE_BAN_MESSAGE | FAKE_BAN_MESSAGE_DESC | 1
[19:05:57.0615818][INFO/command.cpp:45] Command | fakebanall | FAKE_BAN_MESSAGE | FAKE_BAN_MESSAGE_DESC | 0
[19:05:57.0615872][INFO/command.cpp:45] Command | sext | SEND_SEXT | SEND_SEXT_DESC | 1
[19:05:57.0615914][INFO/command.cpp:45] Command | sextall | SEND_SEXT | SEND_SEXT_DESC | 0
[19:05:57.0616008][INFO/command.cpp:45] Command | apartmenttp | TP_TO_APARTMENT | TP_TO_APARTMENT_DESC | 2
[19:05:57.0616056][INFO/command.cpp:45] Command | apartmenttpall | TP_TO_APARTMENT | TP_TO_APARTMENT_DESC | 1
[19:05:57.0616107][INFO/command.cpp:45] Command | interiortp | TP_TO_INTERIOR | TP_TO_INTERIOR_DESC | 2
[19:05:57.0616151][INFO/command.cpp:45] Command | interiortpall | TP_TO_INTERIOR | TP_TO_INTERIOR_DESC | 1
[19:05:57.0616212][INFO/command.cpp:45] Command | warehousetp | TP_TO_WAREHOUSE | TP_TO_WAREHOUSE_DESC | 2
[19:05:57.0616259][INFO/command.cpp:45] Command | warehousetpall | TP_TO_WAREHOUSE | TP_TO_WAREHOUSE_DESC | 1
[19:05:57.0616357][INFO/command.cpp:45] Command | wanted | SET_WANTED_LEVEL | SET_WANTED_LEVEL_DESC | 2
[19:05:57.0616460][INFO/command.cpp:45] Command | error | SHOW_TRANSACTION_ERROR | SHOW_TRANSACTION_ERROR_DESC | 1
[19:05:57.0616514][INFO/command.cpp:45] Command | errorall | SHOW_TRANSACTION_ERROR | SHOW_TRANSACTION_ERROR_DESC | 0
[19:05:57.0616620][INFO/command.cpp:45] Command | tutorial | Start Tutorial | Plays that unskippable cutscene used in the tutorial | 1
[19:05:57.0616673][INFO/command.cpp:45] Command | tutorialall | Start Tutorial | Plays that unskippable cutscene used in the tutorial | 0
[19:05:57.0616747][INFO/command.cpp:45] Command | golf | Start Golf | Starts golf | 1
[19:05:57.0616792][INFO/command.cpp:45] Command | golfall | Start Golf | Starts golf | 0
[19:05:57.0616842][INFO/command.cpp:45] Command | flightschool | Start Flight School | Teleports player to the airport and starts flight school | 1
[19:05:57.0616918][INFO/command.cpp:45] Command | flightschoolall | Start Flight School | Teleports player to the airport and starts flight school | 0
[19:05:57.0616971][INFO/command.cpp:45] Command | darts | Start Darts | Starts darts in a Sandy Shores bar | 1
[19:05:57.0617019][INFO/command.cpp:45] Command | dartsall | Start Darts | Starts darts in a Sandy Shores bar | 0
[19:05:57.0617073][INFO/command.cpp:45] Command | badlands | Start Badlands Revenge II | Starts the arcade game Badlands Revenge II in fullscreen | 1
[19:05:57.0617132][INFO/command.cpp:45] Command | badlandsall | Start Badlands Revenge II | Starts the arcade game Badlands Revenge II in fullscreen | 0
[19:05:57.0617184][INFO/command.cpp:45] Command | spacemonkey | Start Space Monkey 3 | Starts the arcade game Space Monkey 3 in fullscreen | 1
[19:05:57.0617234][INFO/command.cpp:45] Command | spacemonkeyall | Start Space Monkey 3 | Starts the arcade game Space Monkey 3 in fullscreen | 0
[19:05:57.0617287][INFO/command.cpp:45] Command | wizard | Start The Wizard's Ruin | Starts the arcade game The Wizard's Ruin in fullscreen | 1
[19:05:57.0617340][INFO/command.cpp:45] Command | wizardall | Start The Wizard's Ruin | Starts the arcade game The Wizard's Ruin in fullscreen | 0
[19:05:57.0617390][INFO/command.cpp:45] Command | qub3d | Start Qub3D | Starts the arcade game Qub3D in fullscreen | 1
[19:05:57.0617437][INFO/command.cpp:45] Command | qub3dall | Start Qub3D | Starts the arcade game Qub3D in fullscreen | 0
[19:05:57.0617497][INFO/command.cpp:45] Command | camhedz | Start Camhedz | Starts the arcade game Camhedz in fullscreen | 1
[19:05:57.0617546][INFO/command.cpp:45] Command | camhedzall | Start Camhedz | Starts the arcade game Camhedz in fullscreen | 0
[19:05:57.0617655][INFO/command.cpp:45] Command | ceoraid | TRIGGER_CEO_RAID | TRIGGER_CEO_RAID_DESC | 1
[19:05:57.0617704][INFO/command.cpp:45] Command | ceoraidall | TRIGGER_CEO_RAID | TRIGGER_CEO_RAID_DESC | 0
[19:05:57.0618069][INFO/command.cpp:45] Command | beast | TURN_INTO_BEAST | TURN_INTO_BEAST_DESC | 1
[19:05:57.0618139][INFO/command.cpp:45] Command | beastall | TURN_INTO_BEAST_ALL | TURN_INTO_BEAST_ALL_DESC | 0
[19:05:57.0618195][INFO/command.cpp:45] Command | bring | BRING | BRING_DESC | 1
[19:05:57.0618240][INFO/command.cpp:45] Command | bringall | BRING_ALL | BRING_ALL_DESC | 0
[19:05:57.0618353][INFO/command.cpp:45] Command | bounty | BOUNTY | BOUNTY_DESC | 1
[19:05:57.0618483][INFO/command.cpp:45] Command | bountyall | BOUNTY | BOUNTY_DESC | 0
[19:05:57.0618531][INFO/command.cpp:45] Command | anonbounty | BOUNTY_ANON | BOUNTY_ANON_DESC | 0
[19:05:57.0618627][INFO/command.cpp:45] Command | playertp | TELEPORT | TELEPORT_DESC | 1
[19:05:57.0618746][INFO/command.cpp:45] Command | playervehtp | TELEPORT_INTO_VEHICLE | TELEPORT_INTO_VEHICLE_DESC | 1
[19:05:57.0618873][INFO/command.cpp:45] Command | boostveh | Boost Vehicle | Boosts their car very fast. | 1
[19:05:57.0618926][INFO/command.cpp:45] Command | boostvehall | Boost Vehicle | Boosts their car very fast. | 0
[19:05:57.0618983][INFO/command.cpp:45] Command | burstwheels | Burst Vehicle Tyres | Removes their tyres. | 1
[19:05:57.0619034][INFO/command.cpp:45] Command | burstwheelsall | Burst Vehicle Tyres | Removes their tyres. | 0
[19:05:57.0619134][INFO/command.cpp:45] Command | closedoors | Close Vehicle Doors | Closes all vehicle doors | 1
[19:05:57.0619193][INFO/command.cpp:45] Command | closedoorsall | Close Vehicle Doors | Closes all vehicle doors | 0
[19:05:57.0619253][INFO/command.cpp:45] Command | downgradeveh | Downgrade Vehicle | Removes all upgrades | 1
[19:05:57.0619304][INFO/command.cpp:45] Command | downgradevehall | Downgrade Vehicle | Removes all upgrades | 0
[19:05:57.0619397][INFO/command.cpp:45] Command | flip180 | Rotate 180 | Rotates their car around | 1
[19:05:57.0619449][INFO/command.cpp:45] Command | flip180all | Rotate 180 | Rotates their car around | 0
[19:05:57.0619663][INFO/command.cpp:45] Command | flyingveh | Flying Vehicle | Catapults their car to the sky. | 1
[19:05:57.0619717][INFO/command.cpp:45] Command | flyingvehall | Flying Vehicle | Catapults their car to the sky. | 0
[19:05:57.0619772][INFO/command.cpp:45] Command | killengine | Kill Vehicle Engine | Breaks their engine | 1
[19:05:57.0619820][INFO/command.cpp:45] Command | killengineall | Kill Vehicle Engine | Breaks their engine | 0
[19:05:57.0619921][INFO/command.cpp:45] Command | lockveh | Lock Vehicle | Locks vehicle doors | 1
[19:05:57.0619967][INFO/command.cpp:45] Command | lockvehall | Lock Vehicle | Locks vehicle doors | 0
[19:05:57.0620021][INFO/command.cpp:45] Command | opendoors | Opens Vehicle Doors | Opens all vehicle doors | 1
[19:05:57.0620067][INFO/command.cpp:45] Command | opendoorsall | Opens Vehicle Doors | Opens all vehicle doors | 0
[19:05:57.0620164][INFO/command.cpp:45] Command | rcplayer | Remote Control Vehicle | Take control of the player's vehicle. Spectate the player beforehand for best results | 1
[19:05:57.0620254][INFO/command.cpp:45] Command | smashwindows | Smash Vehicle Windows | Smashes all their windows | 1
[19:05:57.0620304][INFO/command.cpp:45] Command | smashwindowsall | Smash Vehicle Windows | Smashes all their windows | 0
[19:05:57.0620427][INFO/command.cpp:45] Command | stopveh | Stop Vehicle | Stops players vehicle | 1
[19:05:57.0620478][INFO/command.cpp:45] Command | stopvehall | Stop Vehicle | Stops players vehicle | 0
[19:05:57.0620565][INFO/command.cpp:45] Command | unlockveh | Unlock Vehicle Doors | Unlocks Vehicle Doors | 1
[19:05:57.0620610][INFO/command.cpp:45] Command | unlockvehall | Unlock Vehicle Doors | Unlocks Vehicle Doors | 0
[19:05:57.0620661][INFO/command.cpp:45] Command | upgradeveh | Upgrade Vehicle | Upgrades players vehicle | 1
[19:05:57.0620703][INFO/command.cpp:45] Command | upgradevehall | Upgrade Vehicle | Upgrades players vehicle | 0
[19:05:57.0620796][INFO/command.cpp:45] Command | blacktint | Black Window Tint | Makes their windows black. | 1
[19:05:57.0620847][INFO/command.cpp:45] Command | blacktintall | Black Window Tint | Makes their windows black. | 0
[19:05:57.0620893][INFO/command.cpp:45] Command | fillammo | Fill Ammo | Fills all of your ammo. | 0
[19:05:57.0620937][INFO/command.cpp:45] Command | beastjump | Beast Jump | Allows you to jump as if you were the beast like in the Hunt the Beast event | 0
[19:05:57.0620992][INFO/command.cpp:45] Command | clean | Clean Player | Cleans the player of wetness and decals | 0
[19:05:57.0621090][INFO/command.cpp:45] Command | clearwantedlvl | Clear Wanted Level | Clears your wanted level | 0
[19:05:57.0621146][INFO/command.cpp:45] Command | fillsnacks | Fill Inventory | Refills snacks and armor | 0
[19:05:57.0621230][INFO/command.cpp:45] Command | heal | HEAL | HEAL_DESC | 0
[19:05:57.0621285][INFO/command.cpp:45] Command | repairpv | Repair PV | Repairs your currently active personal vehicle | 0
[19:05:57.0621446][INFO/command.cpp:45] Command | boatpickup | Request Boat Pickup | Request a boat pickup | 0
[19:05:57.0621501][INFO/command.cpp:45] Command | ballisticarmor | Request Ballistic Equipment | Requests ballistic equipment which includes ballistic armor and an minigun | 0
[19:05:57.0621600][INFO/command.cpp:45] Command | skipcutscene | Skip Cutscene | Skips the currently playing cutscene | 0
[19:05:57.0621652][INFO/command.cpp:45] Command | suicide | Suicide | Kills you | 0
[19:05:57.0621700][INFO/command.cpp:45] Command | superjump | Super Jump | Jump really high | 0
[19:05:57.0621795][INFO/command.cpp:45] Command | spawn | Spawn Vehicle | Spawn a vehicle with the specified model | 1
[19:05:57.0621873][INFO/command.cpp:45] Command | spawnmaxed | Spawn Maxed | Controls whether the vehicle spawned will have its mods maxed out | 0
[19:05:57.0621936][INFO/command.cpp:45] Command | spawnin | Spawn Inside | Controls whether the player should be set inside the vehicle after it spawns | 0
[19:05:57.0622005][INFO/command.cpp:45] Command | fastquit | Rage Quit | We all have bad times sometimes. Close your GTA instant. | 0
[19:05:57.0622119][INFO/command.cpp:45] Command | bringpv | Bring Personal Vehicle | Teleports your PV near you | 0
[19:05:57.0622223][INFO/command.cpp:45] Command | lastvehtp | Teleport To Last Vehicle | Teleports you into your last driven vehicle | 0
[19:05:57.0622311][INFO/command.cpp:45] Command | objectivetp | Teleport To Objective | Teleports you to your mission objective | 0
[19:05:57.0622399][INFO/command.cpp:45] Command | pvtp | Teleport To Personal Vehicle | Teleports you into your PV | 0
[19:05:57.0622498][INFO/command.cpp:45] Command | waypointtp | Teleport To Waypoint | Teleports you to your waypoint | 0
[19:05:57.0622687][INFO/command.cpp:45] Command | hudcolor | Override HUD Color | Override HUD colors | 0
[19:05:57.0622852][INFO/command.cpp:45] Command | cleanloop | KEEP_PLAYER_CLEAN | KEEP_PLAYER_CLEAN_DESC | 0
[19:05:57.0623194][INFO/command.cpp:45] Command | fastrespawn | INSTANT_RESPAWN | INSTANT_RESPAWN_DESC | 0
[19:05:57.0623313][INFO/command.cpp:45] Command | freecam | FREECAM | FREECAM_DESC | 0
[19:05:57.0623374][INFO/command.cpp:45] Command | godmode | GODMODE | GODMODE_DESC | 0
[19:05:57.0623464][INFO/command.cpp:45] Command | healthregen | HEALTH_REGEN | HEALTH_REGEN_DESC | 0
[19:05:57.0623563][INFO/command.cpp:45] Command | invis | INVISIBILITY | INVISIBILITY_DESC | 0
[19:05:57.0623620][INFO/command.cpp:45] Command | localvis | LOCAL_VISIBILITY | LOCAL_VISIBILITY_DESC | 0
[19:05:57.0623671][INFO/command.cpp:45] Command | mobileradio | MOBILE_RADIO | MOBILE_RADIO_DESC | 0
[19:05:57.0623717][INFO/command.cpp:45] Command | nocollision | NO_COLLISION | NO_COLLISION_DESC | 0
[19:05:57.0623815][INFO/command.cpp:45] Command | noragdoll | NO_RAGDOLL | NO_RAGDOLL_DESC | 0
[19:05:57.0623868][INFO/command.cpp:45] Command | walkunder | WALK_UNDERWATER | WALK_UNDERWATER_DESC | 0
[19:05:57.0623918][INFO/command.cpp:45] Command | noclip | NO_CLIP | NO_CLIP_DESC | 0
[19:05:57.0624014][INFO/command.cpp:45] Command | otr | OFF_RADAR | OFF_RADAR_DESC | 0
[19:05:57.0624067][INFO/command.cpp:45] Command | ptfx | PTFX_CMD | PTFX_CMD_DESC | 0
[19:05:57.0624169][INFO/command.cpp:45] Command | fastrun | SUPER_RUN | SUPER_RUN_DESC | 0
[19:05:57.0624241][INFO/command.cpp:45] Command | superman | SUPERMAN | SUPERMAN_DESC | 0
[19:05:57.0624302][INFO/command.cpp:45] Command | infoxy | UNLIMITED_OXYGEN | UNLIMITED_OXYGEN_DESC | 0
[19:05:57.0624583][INFO/command.cpp:45] Command | autotptowp | Auto-Teleport To Waypoint | Automatically teleports you to a waypoint as soon as you set one | 0
[19:05:57.0624734][INFO/command.cpp:45] Command | vcaudio | Play Audio Through Voice Chat | Plays the audio.wav file in the project folder through voice chat. The wave file must be encoded with a mono 16 bit 16kHz PCM format. You have to reset voice chat settings whenever you load the menu for the sound to play | 0
[19:05:57.0624872][INFO/command.cpp:45] Command | nophone | Disable Phone | Blocks phone and stops all phone calls | 0
[19:05:57.0624939][INFO/command.cpp:45] Command | noidlekick | NO_IDLE_KICK | Prevents you from being kicked while idling. | 0
[19:05:57.0625000][INFO/command.cpp:45] Command | blockhoming | Block Homing Missiles | Prevents homing missiles from locking on to your vehicle | 0
[19:05:57.0625118][INFO/command.cpp:45] Command | mutesiren | Mute Siren | Disables the siren sound of Emergency vehicles | 0
[19:05:57.0625179][INFO/command.cpp:45] Command | driveonwater | Drive On Water | Allows you to drive on water | 0
[19:05:57.0625280][INFO/command.cpp:45] Command | vehiclefly | Vehicle Fly | Fly with any land vehicle | 0
[19:05:57.0625359][INFO/command.cpp:45] Command | hornboost | Horn Boost | Boosts your vehicle forward when you sound the horn | 0
[19:05:57.0625412][INFO/command.cpp:45] Command | instantbrake | Instant Brake | Makes your vehicle stop instantly when you press the brake | 0
[19:05:57.0625510][INFO/command.cpp:45] Command | invisveh | Vehicle Invisiblity | Makes your car invisible | 0
[19:05:57.0625571][INFO/command.cpp:45] Command | localinvisveh | Visible Locally | Makes your car visible to yourself, other players will still not be able to see it | 0
[19:05:57.0625632][INFO/command.cpp:45] Command | keepengine | Keep Engine Running | Keeps the engine running when you exit the vehicle | 0
[19:05:57.0625747][INFO/command.cpp:45] Command | keeponground | Keep On Ground | Makes it so your vehicle is always on the ground on all four wheels | 0
[19:05:57.0625861][INFO/command.cpp:45] Command | keepfixed | Keep Vehicle Repaired | Keeps your vehicle free of wear and tear | 0
[19:05:57.0626109][INFO/command.cpp:45] Command | vehnocollision | No Collision | Same as Ped No Collision, except this is global and also affects Ped | 0
[19:05:57.0626343][INFO/command.cpp:45] Command | driveunder | Drive Underwater | Allows you to drive underwater | 0
[19:05:57.0626473][INFO/command.cpp:45] Command | rainbowpri | Rainbow Paint: Apply to Primary | Applies active rainbow effect to the current vehicle's primary color | 0
[19:05:57.0626543][INFO/command.cpp:45] Command | rainbowsec | Rainbow Paint: Apply to Secondary | Applies active rainbow effect to the current vehicle's secondary color | 0
[19:05:57.0626609][INFO/command.cpp:45] Command | rainbowneons | Rainbow Paint: Apply to Neons | Applies active rainbow effect to the current vehicle's neon color | 0
[19:05:57.0626665][INFO/command.cpp:45] Command | rainbowsmoke | Rainbow Paint: Apply to Tire Smoke | Applies active rainbow effect to the current vehicle's tire smoke color | 0
[19:05:57.0630026][INFO/command.cpp:45] Command | rainbowspeed | Rainbow Paint: Speed | Speed of the rainbow paint effect | 1
[19:05:57.0630142][INFO/command.cpp:45] Command | seatbelt | Seatbelt | Prevent you from falling off bikes or flying through the windshield | 0
[19:05:57.0630273][INFO/command.cpp:45] Command | speedometer | Speedometer | Enable/disable the speedo meter for vehicles. | 0
[19:05:57.0630339][INFO/command.cpp:45] Command | speedometergears | Show current gear | Adds the current gear the vehicle is in to the speedo meter. | 0
[19:05:57.0630395][INFO/command.cpp:45] Command | speedometerleftside | Align to left | Aligns the speedo meter text to the left instead of to the right. | 0
[19:05:57.0630447][INFO/command.cpp:45] Command | turnsignals | Turn Signals | Makes your car invisible | 0
[19:05:57.0630546][INFO/command.cpp:45] Command | vehallweapons | Allow Weapons In Vehicle | Allows you to use all weapons in vehicle | 0
[19:05:57.0630611][INFO/command.cpp:45] Command | vehgodmode | Vehicle God Mode | Prevents your vehicle from taking any form of damage | 0
[19:05:57.0630709][INFO/command.cpp:45] Command | vehjump | Vehicle Jump | Makes the vehicle jump when you press the handbrake | 0
[19:05:57.0630761][INFO/command.cpp:45] Command | aimbot | Aimbot | Lock on and kill | 0
[19:05:57.0630848][INFO/command.cpp:45] Command | smoothing | Smoothing | Controls the snappiness of your lock on | 0
[19:05:57.0630910][INFO/command.cpp:45] Command | aimatplayer | Player | If you suck at PVP, this is for you | 0
[19:05:57.0630962][INFO/command.cpp:45] Command | aimatnpc | NPC | Generally kills normal NPCs | 0
[19:05:57.0631008][INFO/command.cpp:45] Command | aimatpolice | Police | Locks onto cops to kill | 0
[19:05:57.0631058][INFO/command.cpp:45] Command | aimatenemy | Enemy | Eliminate your enemies, and win your missions | 0
[19:05:57.0631131][INFO/command.cpp:45] Command | incrdamage | Damage Override | Sets your damage to whatever you want | 0
[19:05:57.0631303][INFO/command.cpp:45] Command | infammo | Infinite Ammo | Never run out of ammo again | 0
[19:05:57.0631364][INFO/command.cpp:45] Command | infclip | Infinite Clip | Shoot forever without needing to reload | 0
[19:05:57.0631487][INFO/command.cpp:45] Command | infrange | Infinite Range | Kill anything at any distance | 0
[19:05:57.0631548][INFO/command.cpp:45] Command | norecoil | No Recoil | Removes weapon recoil when shooting | 0
[19:05:57.0631604][INFO/command.cpp:45] Command | nospread | No Spread | Removes weapon spread when shooting | 0
[19:05:57.0631722][INFO/command.cpp:45] Command | rapidfire | Rapid Fire | Makes your weapon fire insanely fast | 0
[19:05:57.0631825][INFO/command.cpp:45] Command | triggerbot | Triggerbot | Shoots at a ped with fast ease | 0
[19:05:57.0631956][INFO/command.cpp:45] Command | blackhole | Blackhole | Spawns a blackhole that picks up all the peds and vehicles in your area | 0
[19:05:57.0632013][INFO/command.cpp:45] Command | blackholeincpeds | Peds | Includes all nearby peds in the blackhole's path of destruction | 0
[19:05:57.0632068][INFO/command.cpp:45] Command | blackholeincvehs | Vehicles | Includes all nearby vehicles in the blackhole's path of destruction | 0
[19:05:57.0632117][INFO/command.cpp:45] Command | autodisarm | Auto Disarm | Disarm nearby pedestrians | 0
[19:05:57.0632212][INFO/command.cpp:45] Command | riotmode | Riot Mode | Make nearby peds attack each other | 0
[19:05:57.0632270][INFO/command.cpp:45] Command | highalert | High Alert | Not the CoD perk | 0
[19:05:57.0632412][INFO/command.cpp:45] Command | pedsignore | Ignore | Nearby peds will ignore you and become oblivious to your actions | 0
[19:05:57.0632469][INFO/command.cpp:45] Command | pedrush | Ped Rush | Makes the nearby peds move with a purpose | 0
[19:05:57.0632523][INFO/command.cpp:45] Command | pedrain | Rain Peds | Will pour down and rain nearby peds | 0
[19:05:57.0632621][INFO/command.cpp:45] Command | vehiclerain | Rain Vehicles | Drops surrounding vehicles, vehicles can hit and kill you! | 0
[19:05:57.0632680][INFO/command.cpp:45] Command | timeoverride | Override Time | Overrides current time. This is local and cannot be seen by other players | 0
[19:05:57.0632779][INFO/command.cpp:45] Command | weatheroverride | Override Weather | Overrides current weather. This is local and cannot be seen by other players | 0
[19:05:57.3533937][INFO/command.cpp:45] Command | orbitaldrone | Toggle Orbital Drone | Enables/Disables the orbital drone | 0
[19:05:57.3534147][INFO/command.cpp:45] Command | player_db_auto_update_states | Auto Update Player Online States | Toggling this feature will automatically update the player online states every 5minutes. | 0
[19:05:57.3534619][INFO/command.cpp:45] Command | vehiclecontrol | Vehicle controller | Enables/Disables the vehicle controller. | 0
[19:05:57.3535802][INFO/command.cpp:45] Command | cmdexecutor | Toggle Command Executor | Toggles the command executor window | 0

View File

@ -587,3 +587,46 @@ for class_name, class_ in classes.items():
f = open(file_name, "a")
f.write(str(class_))
f.close()
commands_file_name = f"./commands.md"
if os.path.exists(commands_file_name):
os.remove(commands_file_name)
f = open(commands_file_name, "a")
f.write("""# Commands
All the current commands from the menu are listed below.
**Example Usage through Lua:**
```lua
command.call("spawn", {joaat("adder")})
command.call_player(somePlayerIndex, "spawn", {joaat("adder")})
```
For a complete list of available command functions, please refer to the command table documentation.
""")
commands = []
with open("./commands_dump.txt", "r") as file:
for line in file:
cmd = line.split("|", 1)[1].strip().split("|")
commands.append(cmd)
f.write(f"## Command Count: {len(commands)}\n\n")
for cmd in commands:
name = cmd[0]
label = cmd[1]
desc = cmd[2]
arg_count = cmd[3]
f.write(f"### {name}\n")
f.write(f"{desc}\n")
f.write(f"Arg Count: {arg_count}\n")
f.write("\n")
f.close()

View File

@ -37,6 +37,18 @@ namespace big
m_fiber_pool(fiber_pool)
{
g_commands[rage::joaat(name)] = this;
constexpr bool generate_command_documentation = false;
if constexpr (generate_command_documentation)
{
auto translated_label = g_translation_service.get_translation(m_label);
auto translated_desc = g_translation_service.get_translation(m_description);
if (!translated_label.empty())
{
LOG(INFO) << "Command | " << m_name << " | " << translated_label << " | " << translated_desc << " | "
<< std::to_string(m_num_args.value_or(0));
}
}
}
void command::call(const std::vector<std::uint64_t>& args, const std::shared_ptr<command_context> ctx)

View File

@ -22,7 +22,7 @@ namespace lua::command
const auto command = big::command::get(rage::joaat(command_name));
if (command)
command->call(args, {});
command->call(args);
}
// Lua API: Function
@ -44,7 +44,7 @@ namespace lua::command
if (player)
{
command->call(player, args, {});
command->call(player, args);
}
}
}