示例#1
0
        private async void AdvancedHudTest(int source, List <object> args, string raw)
        {
            IconType[] icons = { IconType.ChatBox, IconType.AddFriendRequest, IconType.Dollar, IconType.Email, IconType.RightJumpingWindow, IconType.RP };

            for (int i = 0; i < 166; i++)
            {
                NotificationPicture pic = (NotificationPicture)i;
                ESX.ShowAdvancedNotification("Nexd", "~h~F*!K YOU~h~", $"N: ~h~{i}~h~~n~~h~~g~{pic}~h~", pic, icons[GetRandomIntInRange(0, 6)], true, true, (HudColor)i);
                await Delay(2000);
            }
        }