PLease help with unturned
Hi all. I am quite new here and I want to learn how to hack unity games like unturned. I want to make hacks by programming and injecting dll's , but I have no idea what files do I need to use in references. So far I added Assembly-CSharp and UnityEngine. That might be all, but I'm still having problems. For example I copied someone's code
added using UnityEngine; and using SDG.Unturned;
And there's no vehicle class(I am not sure if that's called a class ) in SDG.Unturned and I can't find how did they renamed it. I need someone to help me by explaining me what am I doing wrong. I use C# in visual studio express 2015. Sorry for my grammar.
EDIT
Nevermind. I just need someone to explain me how to make basic menu, because I can't seem to do it..
Code:
Vehicle[] mapVehicles = (Vehicle[])(UnityEngine.Object.FindObjectsOfType(Type.GetTypeFromHandle(Type.GetTypeHandle(new Vehicle()))));
Vehicle veh = mapVehicles[0];
Vector3 camPos = Camera.main.transform.position;
Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
veh.updatePosition(newPos, Camera.main.transform(DOT)rotation);
veh.transform.position = newPos;
And there's no vehicle class(I am not sure if that's called a class ) in SDG.Unturned and I can't find how did they renamed it. I need someone to help me by explaining me what am I doing wrong. I use C# in visual studio express 2015. Sorry for my grammar.
EDIT
Nevermind. I just need someone to explain me how to make basic menu, because I can't seem to do it..