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!


Get the fighting style the player currently using.

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 helpful as they relate to this function in one way or another.