GetPlayerFightingStyle
Description:
Function GetPlayerFightingStyle get the fighting style the player currently using.
Function GetPlayerFightingStyle was added in 0.3a and will not work in earlier versions! |
Parameters:
(playerid)
int | playerid | The ID of the player to get the fighting style of. |
Return Values:
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
The following functions may be useful, as they are related to this function in one way or another.
- SetPlayerFightingStyle: Set a player's fighting style.