Code: Select all
IObject Gunner_ID = Game.GetSingleObjectByCustomID("The_Gunner");
//or
IObject Gunner_ID = Game.GetSingleObjectByCustomId("The_Gunner");
IObject Gunner_ID = Game.GetObjectsByCustomID("The_Gunner");
//or
IObject Gunner_ID = Game.GetObjectsByCustomId("The_Gunner");
Additionally this applies for every method, property etc that uses the term id. For example there is "UniqueId" and "UniqueID"