mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CPlayerPed::SetAnimationSet(...)
This commit is contained in:
parent
c1b0fbded2
commit
410d45a6da
@ -396,6 +396,15 @@ WEAPON_SLOT_TYPE * CPlayerPed::FindWeaponSlot(DWORD dwWeapon)
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::SetAnimationSet(PCHAR szAnim)
|
||||
{
|
||||
if(m_pPed) {
|
||||
ScriptCommand(&set_actor_animation_set,m_dwGTAId,szAnim);
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::StartGoggles()
|
||||
{
|
||||
if (HasGoggles()) return;
|
||||
|
@ -53,6 +53,7 @@ public:
|
||||
void StopGoggles();
|
||||
BOOL HasGoggles();
|
||||
|
||||
void SetAnimationSet(PCHAR szAnim);
|
||||
CPlayerPed();
|
||||
|
||||
//char _gap0[813];
|
||||
|
@ -69,6 +69,7 @@ const SCRIPT_COMMAND get_active_interior = { 0x077e, "v" };
|
||||
|
||||
const SCRIPT_COMMAND refresh_streaming_at = { 0x04E4, "ff" };
|
||||
|
||||
const SCRIPT_COMMAND set_actor_animation_set = { 0x0245, "is" };
|
||||
const SCRIPT_COMMAND request_animation = { 0x04ED, "s" };
|
||||
const SCRIPT_COMMAND is_animation_loaded = { 0x04EE, "s" };
|
||||
const SCRIPT_COMMAND release_animation = { 0x04EF, "s" };
|
||||
|
Loading…
Reference in New Issue
Block a user