Rename anim locale strings to match other types

This commit is contained in:
Vortrex
2022-04-07 04:52:54 -05:00
parent f01b19eea5
commit ba2eb26788
9 changed files with 22 additions and 18 deletions

View File

@@ -1016,12 +1016,15 @@ function makePedPlayAnimation(ped, animationSlot, positionOffset) {
break;
}
//}
setEntityData(ped, "vrr.animation", animationData[1], animationData[2]);
sendNetworkEventToPlayer("vrr.pedAnim", null, ped.id, animationData[1], animationData[2], animationData[3], animationData[4], animationData[5], positionOffset, freezePlayer);
}
// ===========================================================================
function makePedStopAnimation(pedId) {
removeEntityData(ped, "vrr.animation");
sendNetworkEventToPlayer("vrr.pedStopAnim", null, pedId);
}
@@ -1030,6 +1033,7 @@ function makePedStopAnimation(pedId) {
function forcePedAnimation(ped, animationSlot) {
let animationData = getAnimationData(animationSlot);
removeEntityData(ped, "vrr.animation", animationData[1], animationData[2]);
sendNetworkEventToPlayer("vrr.forcePedAnim", null, ped.id, animationData[1], animationData[2], animationData[3], animationData[4]);
}