Skip to content

setPedUseNativeWalkingStyle

Shared

Available in Neon, not standard MTA

Makes a ped follow the current skin model's native motion group, or restores MTA's explicit walking-style path.

Syntax

bool setPedUseNativeWalkingStyle(ped thePed, bool enabled)

Arguments

thePedped

Target ped or player.

enabledbool

Whether model-native selection is active.

Returns

true when the policy was applied; false for an invalid element.

Ownership and lifecycle

The policy survives model changes, stream cycles, joins, and native ped recreation. Numeric setPedWalkingStyle calls are still last-writer-wins.

OOP aliases

  • ped:setUseNativeWalkingStyle(enabled)
  • ped.usingNativeWalkingStyle = enabled

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →