GetPlayerFightingStyle
From SA-MP Wiki
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.
(playerid)
| playerid | The player you want to know the fighting style of. |
| Returns | Returns 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.
- SetPlayerFightingStyle: Sets the player's fighting style.
