ScriptingExamples: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:


==== Player ====
==== Player ====
[[ScriptingExamples/PlayerSetPosition|Set Own Player's Position]]<br>
[[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 27: Line 27:


== Event-Based ==
== Event-Based ==
[[ScriptingExamples/SyncDamageOnGTAIV|Sync Damage on GTA IV]]<br>
[[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>
Line 40: Line 41:
[[ScriptingExamples/getClientFromText|getClientFromText]] <br>
[[ScriptingExamples/getClientFromText|getClientFromText]] <br>
[[ScriptingExamples/getNearestVehicleInRange|getNearestVehicleInRange]]<br>
[[ScriptingExamples/getNearestVehicleInRange|getNearestVehicleInRange]]<br>
== Misc ==
[[ScriptingExamples/PedAttackPlayer|Make Ped Attack Players]]<br>


== Third Party Code ==
== Third Party Code ==

Latest revision as of 21:57, 22 March 2026