ScriptingExamples: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
==== Player ==== | ==== Player ==== | ||
[[ScriptingExamples/PlayerSetPositionNativeMP|Set Own Player's Position (GTA IV, Native MP Mode)]]<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> | ||
Line 28: | Line 29: | ||
[[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 08:10, 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 (GTA IV, Native MP Mode)
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