Posts: 916
Threads: 65
Joined: Jun 2011
07-22-2011, 02:11
(This post was last modified: 07-22-2011, 09:33 by d0h!.)
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;
}
}
Posts: 67
Threads: 4
Joined: Jun 2011
Reputation:
3
iprintlnbold should probably be done on a entity. Like this: self iprintlnbold("Hello World");
Posts: 1,185
Threads: 72
Joined: Jan 2011
Reputation:
25
Hmm, there is no error i think :/
Posts: 62
Threads: 4
Joined: Jul 2011
Reputation:
1
What's the error you're getting?
Posts: 147
Threads: 41
Joined: Dec 2010
Reputation:
14
CountPlayers(); Does it exist?
Posts: 916
Threads: 65
Joined: Jun 2011
07-22-2011, 13:35
(This post was last modified: 07-22-2011, 14:19 by Scripts18.)
(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