You are viewing our Forum Archives. To view or take place in current topics click here.
MW2 TU8 HUD Elements Problem! ( C# )
Posted:

MW2 TU8 HUD Elements Problem! ( C# )Posted:

XeXBenqz
  • Resident Elite
Status: Offline
Joined: Jun 26, 201311Year Member
Posts: 243
Reputation Power: 9
Status: Offline
Joined: Jun 26, 201311Year Member
Posts: 243
Reputation Power: 9
Hey Guys! I Try to get HUD Elements in my C# Project!
I Saw that in a Video! I did the Same but everytime the Same..

[ Register or Signin to view external links. ]

IDK What i do Wrong.. XRPC.dll is in, Created a new Class,
Inser the Code and Made:

"new XRPC Jtag = new XRPC();"

That should Fix it! ( It was Fixed in His Video.. )
But it didnt Work for me???

Can someone Help??
#2. Posted:
uid-545891
  • TTG Addict
Status: Offline
Joined: Sep 02, 201113Year Member
Posts: 2,730
Reputation Power: 150
Status: Offline
Joined: Sep 02, 201113Year Member
Posts: 2,730
Reputation Power: 150
It's XRPC Jtag = new XRPC();

Not new XRPC Jtag = new XRPC();
#3. Posted:
SK7
  • Powerhouse
Status: Offline
Joined: May 26, 201311Year Member
Posts: 491
Reputation Power: 22
Status: Offline
Joined: May 26, 201311Year Member
Posts: 491
Reputation Power: 22
Add XRPC Jtag = new XRPC(); under namespace.
#4. Posted:
XeXBenqz
  • Resident Elite
Status: Offline
Joined: Jun 26, 201311Year Member
Posts: 243
Reputation Power: 9
Status: Offline
Joined: Jun 26, 201311Year Member
Posts: 243
Reputation Power: 9
Carb0n wrote Add XRPC Jtag = new XRPC(); under namespace.


Yea i already did.. nothing Changed..
btw its in the Class! Not in the Form Project!
I Added a Class called "HUDElem" and i got the Whole HUD Elements Code from
a Se7ensins user! And i did it like you said ( in Class )
But the "Jtag" Is still with a Red Line

Could you Add my Skype?? Its maybe better

Skype: IMxEAZ
#5. Posted:
SK7
  • Powerhouse
Status: Offline
Joined: May 26, 201311Year Member
Posts: 491
Reputation Power: 22
Status: Offline
Joined: May 26, 201311Year Member
Posts: 491
Reputation Power: 22
You don't use it in a class. Class is for a reference in a basic explaination.
#6. Posted:
SK7
  • Powerhouse
Status: Offline
Joined: May 26, 201311Year Member
Posts: 491
Reputation Power: 22
Status: Offline
Joined: May 26, 201311Year Member
Posts: 491
Reputation Power: 22
Sent a friend request on Skype. I will help out.
#7. Posted:
RC4
  • Rising Star
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
If you are using static methods, your object needs to be static aswell.
public static XRPC Jtag = new XRPC();
#8. Posted:
SK7
  • Powerhouse
Status: Offline
Joined: May 26, 201311Year Member
Posts: 491
Reputation Power: 22
Status: Offline
Joined: May 26, 201311Year Member
Posts: 491
Reputation Power: 22
Refection wrote If you are using static methods, your object needs to be static aswell.
public static XRPC Jtag = new XRPC();


You don't use public for defining a name for a object.
It's just:
static XRPC Jtag = new XRPC();

I helped him out. All is good.
#9. Posted:
XeXBenqz
  • Resident Elite
Status: Offline
Joined: Jun 26, 201311Year Member
Posts: 243
Reputation Power: 9
Status: Offline
Joined: Jun 26, 201311Year Member
Posts: 243
Reputation Power: 9
THX For all the Help!!! Fixed it <33
Thx to Carb0n & Refection
#10. Posted:
RC4
  • Rising Star
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
Status: Offline
Joined: Feb 18, 201212Year Member
Posts: 773
Reputation Power: 32
Carb0n wrote
Refection wrote If you are using static methods, your object needs to be static aswell.
public static XRPC Jtag = new XRPC();


You don't use public for defining a name for a object.
It's just:
static XRPC Jtag = new XRPC();

I helped him out. All is good.

Haha it really doesn't matter I personally just like it
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.