Skip to main content

PedGetRandomModelId

Description​

Returns a random ID from the ped list.

note

It will never return an ID higher than 238.

function PedGetRandomModelId() --[[ ... ]] end

Parameters​

...

Return Values​

  • id: integer - The ped ID.

Example​

...