<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AsetCombatAttributes</id>
	<title>Player::setCombatAttributes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/index.php?action=history&amp;feed=atom&amp;title=Player%3A%3AsetCombatAttributes"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::setCombatAttributes&amp;action=history"/>
	<updated>2026-06-05T01:15:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Player::setCombatAttributes&amp;diff=4233&amp;oldid=prev</id>
		<title>Marty uploader: yay</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Player::setCombatAttributes&amp;diff=4233&amp;oldid=prev"/>
		<updated>2017-05-06T23:45:04Z</updated>

		<summary type="html">&lt;p&gt;yay&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;These combat attributes seem to be the same as the BehaviourFlags from combatbehaviour.meta.&amp;lt;br&amp;gt;So far, these are the equivalents found:&amp;lt;br&amp;gt;enum CombatAttributes&amp;lt;br&amp;gt;{&amp;lt;br&amp;gt;	BF_CanUseCover = 0,&amp;lt;br&amp;gt;	BF_CanUseVehicles = 1,&amp;lt;br&amp;gt;	BF_CanDoDrivebys = 2,&amp;lt;br&amp;gt;	BF_CanLeaveVehicle = 3,&amp;lt;br&amp;gt;	BF_CanFightArmedPedsWhenNotArmed = 5,&amp;lt;br&amp;gt;	BF_CanTauntInVehicle = 20,&amp;lt;br&amp;gt;	BF_AlwaysFight = 46,&amp;lt;br&amp;gt;	BF_IgnoreTrafficWhenDriving = 52,&amp;lt;br&amp;gt;        BF_FreezeMovement = 292,&amp;lt;br&amp;gt;        BF_PlayerCanUseFireingWeapons = 1424&amp;lt;br&amp;gt;};&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Research thread: gtaforums.com/topic/833391-researchguide-combat-behaviour-flags/&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;player.setCombatAttributes(attributeIndex, enabled);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
=== Required Arguments ===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;attributeIndex:&amp;#039;&amp;#039;&amp;#039; int&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;enabled:&amp;#039;&amp;#039;&amp;#039; Boolean&lt;br /&gt;
===Return value===&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;Undefined&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// todo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
{{Player_function_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:TODO: Example]]&lt;/div&gt;</summary>
		<author><name>Marty uploader</name></author>
	</entry>
</feed>