ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getPedFightingStyle

Function

getPedFightingStyle

ServerPedsIdentical to MTA:SA

Returns the fighting style stored with setPedFightingStyle (15 by default).

Syntax

int getPedFightingStyle(ped ped)

Arguments

pedped
A player or an NPC.

Returns

Fighting style 4-16.

Example

outputServerLog(getPedFightingStyle(player))

See also