ScriptingExamples/PedAttackPlayer: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "For GTA III, Vice City, and San Andreas you can use natives or the GTAC functions to set a ped to consider something as a threat, and the ped will target/attack it.<br> {{JSCode|1= ped.setThreatSearch(1); // To make the ped target the player ped.heedThreats = true; // To enable attacking threats }} == Notes == * A list of ped [https://wiki.gtaconnected.com/Defines/III#GTA_III_-_Threat_Defines threat types for GTA 3]. Vice City threats aren't documented, but they're the...")
 
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:Ped Attack Player Example}}
For GTA III, Vice City, and San Andreas you can use natives or the GTAC functions to set a ped to consider something as a threat, and the ped will target/attack it.<br>
For GTA III, Vice City, and San Andreas you can use natives or the GTAC functions to set a ped to consider something as a threat, and the ped will target/attack it.<br>
{{JSCode|1=
{{JSCode|1=
2,770

edits

Navigation menu