Scripting Examples
Jump to navigation
Jump to search
The examples listed on this page work with GTAC versions 1.0.72
and newer.
Command-Based
General
Player
Kill Own Player
Give Own Player Weapon
Raise Own Player's Z Coordinate
Show Target Player's Name
Show Own Player's Current Game Being Played
Show Target Player's Current Game Being Played
Vehicle
Add a Vehicle
Vehicle Tyres Toggle Burst/Inflated Command
Vehicle Wheel Status Command
Object
Player & Vehicle
Player Heal and Vehicle Fix Command
Player Delayed Heal and Vehicle Fix Command
Event-Based
Basic Chat Message Event
Log Chat Messages to File
Use Custom Cheats
Timer-Based
Basic Chat Message Timer
Enter Vehicle as a Passenger
Vehicle Auto Flipper & Fixer
Vehicle Bounce & Fixer with Command
Utility Code
getClientFromText
getNearestVehicleInRange