GetPlayerFightingStyle

From SA-MP Wiki

Jump to: navigation, search


GetPlayerFightingStyle was added in SA-MP 0.3a 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.


Parameters:
(playerid)
playeridThe ID of the player to get the fighting style of.


Return Values:

The ID of the fighting style of the player.


Example Usage:

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

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools
Navigation
Toolbox