ScriptingExamples: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
==== Player ==== | ==== Player ==== | ||
[[ScriptingExamples/PlayerSetPosition|Set Own Player's Position]]<br> | |||
[[ScriptingExamples/PlayerKillCommand|Kill Own Player]]<br> | [[ScriptingExamples/PlayerKillCommand|Kill Own Player]]<br> | ||
[[ScriptingExamples/PlayerWeapon|Give Own Player Weapon]]<br> | [[ScriptingExamples/PlayerWeapon|Give Own Player Weapon]]<br> |
Revision as of 08:09, 1 September 2025
The examples listed on this page work with GTAC versions 1.0.72
and newer.
Command-Based
General
Player
Set Own Player's Position
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