ScriptingExamples: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
[[ScriptingExamples/BasicEvent|Basic Chat Message Event]]<br> | [[ScriptingExamples/BasicEvent|Basic Chat Message Event]]<br> | ||
[[ScriptingExamples/LogChatMessagesToFile|Log Chat Messages to File]]<br> | [[ScriptingExamples/LogChatMessagesToFile|Log Chat Messages to File]]<br> | ||
[[ScriptingExamples/CustomCheatsWithoutTimeRestriction|Use Custom Cheats]]<br> | |||
[[ScriptingExamples/CustomCheatsWithoutTimeRestriction|Use Custom Cheats | |||
== Timer-Based == | == Timer-Based == |
Latest revision as of 18:29, 3 June 2021
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