Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Awesome Code But Broken
#1
Its My Birthday! 
level thread Awesome();


Code:
Awesome()
{
  for(;;)
   {
    players = CountPlayers();
    iprintlnbold("There currently are ^1" + players["allies"] + " ^7allies and ^2" + players["axis"] + "axis"); // Allies
    wait 0.1;
   }
}
Reply

#2
iprintlnbold should probably be done on a entity. Like this: self iprintlnbold("Hello World");
Reply

#3
(07-22-2011, 10:29)Justin Wrote: iprintlnbold should probably be done on a entity. Like this: self iprintlnbold("Hello World");

If you use this:
self iprintlnbold("Hello World");
only the entity will see the message if you use this
iprintlnbold("Hello World"); all can see the message
Reply

#4
Hmm, there is no error i think :/
Reply

#5
What's the error you're getting?
Reply

#6
(07-22-2011, 11:19)Phl3x_ Wrote: What's the error you're getting?

Yes, that would be pretty helpful Wink
Reply

#7
CountPlayers(); Does it exist?
Reply

#8
(07-22-2011, 13:33)Puffiamo Wrote: CountPlayers(); Does it exist?

Well I get stuck at waiting for challenge...1 in loading but no errors and yes it does exist (no errors in it since it comes from treyarch)


Got it working added some wait time and it loads now but now I have a problem after the ^2 everything is green I only want the part with players to be in green not the "axis"

EDIT: fixed again nvm
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Code color crosshairs koren30 3 4,019 10-02-2013, 19:26
Last Post: koren30
  Infected Stuff is semi broken DidUknowiPwn 2 3,460 09-21-2013, 20:22
Last Post: surtek
  Porting some weapons, ADS broken? DidUknowiPwn 0 2,393 09-10-2013, 01:13
Last Post: DidUknowiPwn
  Help need help?how to make plugins code hXnarutoXone 12 8,553 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 3,315 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 4,137 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 9,689 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 5,640 07-28-2013, 01:52
Last Post: First_Semyon
Thumbs Up Awesome music Nekochan 2 3,186 07-26-2013, 21:49
Last Post: Nekochan
  Code of vector Bloodfocus 1 2,413 06-23-2013, 11:54
Last Post: Yamato

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.