ItsMods

Full Version: Hud or Allies or Axis
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
it is removed
Now I finally don't believe to you and to your previous releases "made by you". This code is so stupid. Use Allies() and Axis() from another thread. Some guy released it.
(11-09-2013, 17:02)[HARD] Tony. Wrote: [ -> ]
CSHARP Code
  1. if (Client.Team == Teams.Allies)
  2. {
  3. private void CreateServerAd1()
  4. {
  5. HudElem txt = CreateNewHudElem();
  6. txt.Type = HudElementTypes.Text;
  7. txt.ShowToEnt = Entity_World;
  8. txt.HideInMenu = true;
  9. txt.Font = HudElementFonts.Default;
  10. txt.FontScale = 0.8f;
  11. txt.PointType = 81;
  12. txt.OriginY = 70f;
  13. txt.OriginX = 10f;
  14. txt.SetString("^3SURVIVORS");
  15. }
  16. if (Client.Team == Teams.Axis)
  17. {
  18. private void CreateServerAd2()
  19. {
  20. HudElem txt = CreateNewHudElem();
  21. txt.Type = HudElementTypes.Text;
  22. txt.ShowToEnt = Entity_World;
  23. txt.HideInMenu = true;
  24. txt.Font = HudElementFonts.Default;
  25. txt.FontScale = 0.8f;
  26. txt.PointType = 81;
  27. txt.OriginY = 70f;
  28. txt.OriginX = 10f;
  29. txt.SetString("^1INFECTED");
  30. }
  31. }

How made its?

Here Look At this Link: http://addon.teamsdk.com/?q=structs_enums Go down to the Hudelem stuff and look there.
(11-09-2013, 17:20)Casper Wrote: [ -> ]
(11-09-2013, 17:02)[HARD] Tony. Wrote: [ -> ]
CSHARP Code
  1. if (Client.Team == Teams.Allies)
  2. {
  3. private void CreateServerAd1()
  4. {
  5. HudElem txt = CreateNewHudElem();
  6. txt.Type = HudElementTypes.Text;
  7. txt.ShowToEnt = Entity_World;
  8. txt.HideInMenu = true;
  9. txt.Font = HudElementFonts.Default;
  10. txt.FontScale = 0.8f;
  11. txt.PointType = 81;
  12. txt.OriginY = 70f;
  13. txt.OriginX = 10f;
  14. txt.SetString("^3SURVIVORS");
  15. }
  16. if (Client.Team == Teams.Axis)
  17. {
  18. private void CreateServerAd2()
  19. {
  20. HudElem txt = CreateNewHudElem();
  21. txt.Type = HudElementTypes.Text;
  22. txt.ShowToEnt = Entity_World;
  23. txt.HideInMenu = true;
  24. txt.Font = HudElementFonts.Default;
  25. txt.FontScale = 0.8f;
  26. txt.PointType = 81;
  27. txt.OriginY = 70f;
  28. txt.OriginX = 10f;
  29. txt.SetString("^1INFECTED");
  30. }
  31. }

How made its?

Here Look At this Link: http://addon.teamsdk.com/?q=structs_enums Go down to the Hudelem stuff and look there.

The problem is.. he doesn't know how to do it.
(11-09-2013, 18:29)SailorMoon Wrote: [ -> ]
(11-09-2013, 17:20)Casper Wrote: [ -> ]
(11-09-2013, 17:02)[HARD] Tony. Wrote: [ -> ]
CSHARP Code
  1. if (Client.Team == Teams.Allies)
  2. {
  3. private void CreateServerAd1()
  4. {
  5. HudElem txt = CreateNewHudElem();
  6. txt.Type = HudElementTypes.Text;
  7. txt.ShowToEnt = Entity_World;
  8. txt.HideInMenu = true;
  9. txt.Font = HudElementFonts.Default;
  10. txt.FontScale = 0.8f;
  11. txt.PointType = 81;
  12. txt.OriginY = 70f;
  13. txt.OriginX = 10f;
  14. txt.SetString("^3SURVIVORS");
  15. }
  16. if (Client.Team == Teams.Axis)
  17. {
  18. private void CreateServerAd2()
  19. {
  20. HudElem txt = CreateNewHudElem();
  21. txt.Type = HudElementTypes.Text;
  22. txt.ShowToEnt = Entity_World;
  23. txt.HideInMenu = true;
  24. txt.Font = HudElementFonts.Default;
  25. txt.FontScale = 0.8f;
  26. txt.PointType = 81;
  27. txt.OriginY = 70f;
  28. txt.OriginX = 10f;
  29. txt.SetString("^1INFECTED");
  30. }
  31. }

How made its?

Here Look At this Link: http://addon.teamsdk.com/?q=structs_enums Go down to the Hudelem stuff and look there.

The problem is.. he doesn't know how to do it.

I sorta figured that..
(11-09-2013, 19:26)Casper Wrote: [ -> ]I sorta figured that..

Then help him please, lol... I don't want to help him because he won't understand what he is doing.
(11-09-2013, 20:33)SailorMoon Wrote: [ -> ]
(11-09-2013, 19:26)Casper Wrote: [ -> ]I sorta figured that..

Then help him please, lol... I don't want to help him because he won't understand what he is doing.

I have a full schedule with work . . . . . doesn't leave me much time.
@Sailormoon Is there a way to make a hud only veiwable by one person tho. ? Just wonderin if it was possible. Big Grin



@[HARD] Tony. Heres the codes to make the huds veiwable by one team.
Here's For Infected:
Code:
txt.Team = Teams.Axis;

Here's For Survivor:
Code:
txt.Team = Teams.Allies;
nvm Big Grin
Yes, it's possible.
(11-10-2013, 10:43)SailorMoon Wrote: [ -> ]Yes, it's possible.

Could you show me a code please i tried but i couldn't figure it out..
Pages: 1 2