Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Make a public static int[] called effect, and a public static bool[] called fswitch
- public static int[] effect = new int[100];
- public static bool[] fswitch = new bool[100];
- if (faceid[p] == 71)
- {
- if (effect[p] == 0 && fswitch[p] == true) // Checks if player has high jump effect on
- {
- if (ver == 1)
- {
- con.Send(worldkey, 0, X, Y, 381, 0, 3, 4); Thread.Sleep(250);
- con.Send(worldkey, 0, X, Y, 0);
- }
- }
- else {
- if (ver == -1)
- {
- con.Send(worldkey, 0, X, Y, 381, 0, 1, 2); Thread.Sleep(250);
- con.Send(worldkey, 0, X, Y, 0);
- }
- }
- }
- // In case "effect"
- case "effect":
- int e = m.GetInt(0);
- int ef = m.GetInt(1);
- bool on = m.GetBoolean(2);
- effect[e] = ef;
- fswitch[e] = on;
- break;
Advertisement
Add Comment
Please, Sign In to add comment