Skip to main content

PedSwapModel

Description

Unlike what the name implies, this swaps a ped to another ped's entire stats, not just their model.

function PedSwapModel(ped, model) --[[ ... ]] end

Parameters

  • ped: integer - The ped to swap the model of.
  • model: string - Ped model name to swap to.

Return Values

...

Example

Spawn Constantinos by the boys' dorm and swap him to Algie.

const = PedCreateXYZ(70, 270, -113, 7)
PedSwapModel("NDH1a_Algernon")

See Also