Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- opd_s REQUEST_ANIM_DICT_t = { 0x432A2C, TOC };
- int(*REQUEST_ANIM_DICT)(const char*hasanim2) = (int(*)(const char *))&REQUEST_ANIM_DICT_t;
- opd_s TASK_PLAY_ANIM_t = {0x43A3A4, TOC };
- int(*TASK_PLAY_ANIM)(int ee,const char* b,const char* f,float x,float y,int cv,int ew,int qa,int zx,int fg,int gh) = (int(*)(int,const char* ,const char*,float,float,int,int,int,int,int,int))&TASK_PLAY_ANIM_t;
- opd_s HAS_ANIM_DICT_LOADED_t = {0x432AC4, TOC };
- int(*HAS_ANIM_DICT_LOADED)(const char*hasanim2) = (int(*)(const char *))&HAS_ANIM_DICT_LOADED_t;
- void setanim(const char* anim,const char* animid)
- {
- int pPlayer = Func::PLAYER_PED_ID();
- Func::NETWORK_REQUEST_CONTROL_OF_ENTITY(pPlayer);
- REQUEST_ANIM_DICT(anim);
- if(HAS_ANIM_DICT_LOADED((anim)))
- {
- TASK_PLAY_ANIM(pPlayer, anim, animid, 8.0f, 0.0f, -1, 9, 0, 0, 0, 0);
- PRINT("Animation Work",1000);
- }
- }
- setanim("amb@world_human_push_ups@male@base","base");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement