GetPlayerFightingStyle

warning

This function was added in SA-MP 0.3a and will not work in earlier versions!

Description

Get the fighting style the player currently using.

NameDescription
playeridThe ID of the player to get the fighting style of.

Returns

The ID of the fighting style of the player.

Examples

if (GetPlayerFightingStyle(playerid) == FIGHT_STYLE_NORMAL)
{
SendClientMessage(playerid,0xFFFFFFAA,"You are using normal fighting style!");
}

Related Functions