Need a Scripter to help me out here.
Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
Hello my dear friends if you're reading this then you're either 1) interested in helping me 2) You like me 3) you just want to see what's in here.
Anyway I'm trying to take an old plugin that I had modified for my friend. -NOTE: MODIFIED-
I'm not anywhere decent at C# I'm still in the very basics of it.
My question is this how can I convert this snippet of code into "IW5M/InfinityScript" suited.
using System; using System.Collections.Generic; using System.Linq; using System.Text; using InfinityScript; namespace ClassLibrary1 { public class Class1 { Random rand = new Random(); switch (rand.Next(0, 3)) { case 0: iPrintLnBold("^5Your random zombie class is ^1Track Athlete", Client); Thread.Sleep(1500); iPrintLnBold("^4Same HP, more speed", Client); Client.Other.SpeedScale = (float)1.3; Client.Other.Health += 110; break; case 1: iPrintLnBold("^5Your random zombie class is ^2Juggernaut zombie", Client); Thread.Sleep(1500); iPrintLnBold("^4Jug Zombie have HP +50\"%\", less speed. ", Client); Client.Other.SpeedScale = (float)0.75; Client.Other.Health += 150; Client.Other.SetPlayerModel("mp_fullbody_opforce_juggernaut"); break; case 2: iPrintLnBold("^5Your random zombie class is ^1Usain Bolt", Client); Thread.Sleep(1500); iPrintLnBold("^4You're Usain Bolt for this life.", Client); Client.Other.SpeedScale = (float)1.5; Client.Other.Health += 120; break; case 3: iPrintLnBold("^5Your random zombie class is ^1Normal Zombie", Client); Thread.Sleep(1500); iPrintLnBold("^4No HP Increase nor Speed increase", Client); Client.Other.SpeedScale = (float)1.0; Client.Other.Health += 100; break; } }