SetPlayerFightingStyle
Jump to navigation
Jump to search
Sets a player's fighting style
ILL PUT LIST HERE IN A BIT
values from 4-16
Syntax
setPlayerFightingStyle ( player, int style )
Required Arguments
- Player: Tells the function to give the fighting style to a player
- Style: A whole integer specifying the style of fighting you want to give to the player
Example
This example sets the player's fighting style to the desired style when he types "style" folldowed by a number from 4 to 16 in console.
addCommandHandler ( "style", "style" ) -- add a command handler for setcash function style ( player, command, id ) --when the style function is called setPlayerFightingStyle ( player, id ) --set players fighting style end
See Also
- getPlayerTeam
- getPlayerBlurLevel
- setPlayerBlurLevel
- getPlayerSerial
- forcePlayerMap
- getPlayerScriptDebugLevel
- getPlayerFromName
- getPlayerMoney
- getPlayerName
- getPlayerNametagColor
- getPlayerNametagText
- getPlayerPing
- getPlayerWantedLevel
- givePlayerMoney
- isPlayerMapForced
- isPlayerNametagShowing
- setPlayerHudComponentVisible
- setPlayerMoney
- setPlayerNametagColor
- setPlayerNametagShowing
- setPlayerNametagText
- takePlayerMoney
- countPlayersInTeam
- getPlayersInTeam
- isVoiceEnabled
- setControlState
- getControlState