ScriptingExamples: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Revision as of 13:32, 12 October 2020
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 with a Time Restriction
Use Custom Cheats without a Time Restriction
Timer-Based
Basic Chat Message Timer
Enter Vehicle as a Passenger
Vehicle Auto Flipper & Fixer
Vehicle Bounce & Fixer with Command
Utility Code
getClientFromText
getNearestVehicleInRange