SetPedFollow: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

15 April 2022

12 April 2022

  • curprev 20:2920:29, 12 April 2022Hydra talk contribs 1,554 bytes +1,554 Created page with "{{Useful Function}} __NOTOC__ This function makes a ped to follow a player. <br> '''Only CLIENT-SIDE''' <br> ==Syntax== <syntaxhighlight lang="lua">bool setPedFollow(ped theElement, target element theTarget)</syntaxhighlight> ===Required Arguments=== * '''theElement''': The ped element. * '''theTarget''': The target element. ==Code== {{RequiredFunctions|findRotation}} <section name="Clientside script" class="client" show="true"> <syntaxhighlight lang="lua"> function s..."