public void Start() { Streaming.RequestAnimDict(Dictionary); while (!Streaming.HasAnimDictLoaded(Dictionary)) { Invoker.Wait(0); } IsDictionaryLoaded = true; Audio.RequestAmbientAudioBank("VENDING_MACHINE", false, -1); Player.TaskPlayAnim(Dictionary, "PLYR_BUY_DRINK_PT1", 2f, -4f, -1, 1048576, 0, false, false, false); }
public BatmanEntity(Ped ped) : base(ped) { MinGlideHeight = 1.5f; MinGlideStartHeight = 20f; MaxQuickAttackDistance = 5f; MaxAttackDistance = 15f; MaxLandHeight = 3.5f; BatGrappleModel = "w_pi_pistol"; Streaming.RequestAnimDict("move_fall"); Streaming.RequestAnimDict("move_fall@beastjump"); Streaming.RequestAnimDict("skydive@parachute@"); Streaming.RequestAnimDict("skydive@freefall"); Streaming.RequestAnimDict("weapons@pistol_1h@"); Streaming.RequestAnimDict("swimming@first_person@"); Streaming.RequestAnimDict("misslamar1leadinout"); }