GetPlayerFightingStyle

From SA-MP Wiki

Jump to: navigation, search

GetPlayerFightingStyle


Warning: This is a new function working since SA-MP 0.3. It won't work in previous versions.


Returns what fighting style the player currently using.


Parameters:
(playerid)
playeridThe player you want to know the fighting style of.


ReturnsReturns the fighting style of the player.


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

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools