calm-library-91982
05/28/2023, 7:33 AMgorgeous-baker-92777
05/28/2023, 7:58 AMshy-elephant-26688
05/28/2023, 8:28 AMText3D
in both enumsgorgeous-baker-92777
05/28/2023, 8:29 AMwitty-helicopter-92812
05/28/2023, 9:03 AMc
if (g_PlayerInjured[playerid]) {
ApplyAnimation(playerid, "WUZI", "CS_Dead_Guy", 4.1, true, false, false, false, 0);
print("OnPlayerUpdate - you are injured");
}
if (g_PlayerRespawning[playerid]) {
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.1, true, false, false, false, 0);
print("OnPlayerUpdate - you are respawning");
}
Is it safe to do this in OnPlayerUpdate? could it affect the performance of the server? just to let you know im trying to prevent the toggleplayercontrollable from interfering the animation that plays when the player is injured im looking for a better way TIAwitty-helicopter-92812
05/28/2023, 9:06 AMwitty-helicopter-92812
05/28/2023, 9:10 AMrough-rose-77177
05/28/2023, 9:25 AMclean-computer-63131
05/28/2023, 9:28 AMwitty-helicopter-92812
05/28/2023, 9:43 AMrough-rose-77177
05/28/2023, 9:46 AMrough-rose-77177
05/28/2023, 9:48 AMrough-rose-77177
05/28/2023, 9:53 AMwitty-helicopter-92812
05/28/2023, 9:59 AMcreamy-river-65943
05/28/2023, 10:06 AMgray-shampoo-34698
05/28/2023, 10:06 AMfuture-coat-72735
05/28/2023, 11:28 AMfew-jackal-44141
05/28/2023, 11:28 AMcreamy-river-65943
05/28/2023, 11:47 AMcreamy-river-65943
05/28/2023, 11:47 AMdazzling-translator-76954
05/28/2023, 12:03 PMhelpful-keyboard-89285
05/28/2023, 12:05 PMgentle-processor-62005
05/28/2023, 1:13 PMgentle-london-6993
05/28/2023, 1:24 PMhelpful-keyboard-89285
05/28/2023, 1:46 PMhelpful-keyboard-89285
05/28/2023, 1:46 PMblue-piano-5315
05/28/2023, 1:48 PMblue-piano-5315
05/28/2023, 1:48 PMgentle-london-6993
05/28/2023, 1:50 PMgentle-london-6993
05/28/2023, 1:50 PMhttps://cdn.discordapp.com/attachments/231799180127895553/1112377309148758118/Foe-OtOakAACiWu.png▾