mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-23 06:20:22 +00:00
[saco] Implement/match CPlayerPed::SetFightingStyle(...)
This commit is contained in:
parent
3bf84844a3
commit
802fe277f2
@ -1325,6 +1325,15 @@ int CPlayerPed::GetFightingStyle()
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::SetFightingStyle(int iStyle)
|
||||
{
|
||||
if (!m_pPed) return;
|
||||
|
||||
ScriptCommand( &set_fighting_style, m_dwGTAId, iStyle, 6 );
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::ProcessVehicleHorn()
|
||||
{
|
||||
if(!m_pPed) return;
|
||||
|
@ -53,6 +53,7 @@ public:
|
||||
WORD GetAmmo();
|
||||
|
||||
int GetFightingStyle();
|
||||
void SetFightingStyle(int iStyle);
|
||||
|
||||
float GetTargetRotation();
|
||||
void SetTargetRotation(float fRotation);
|
||||
|
@ -114,6 +114,8 @@ const SCRIPT_COMMAND toggle_actor_cellphone = { 0x0729, "ii" };
|
||||
|
||||
const SCRIPT_COMMAND actor_task_handsup = { 0x5c4, "ii" };
|
||||
|
||||
const SCRIPT_COMMAND set_fighting_style = { 0x07fe, "iii" };
|
||||
|
||||
const SCRIPT_COMMAND link_vehicle_to_interior = { 0x0840, "ii" };
|
||||
const SCRIPT_COMMAND create_radar_marker_icon = { 0x0570, "fffiv" };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user