Page 3 of 3
Re: A syntax error that I can't see whats causing it.
Posted: June 23rd, 2011, 11:25 pm
by F |Madness| U
I think I already tried that, can't really remember now.
Anyway I can't connect to Black Ops server at the moment meaning I can't even make my own offline server >.< I'll try it ASAP and let you know if it works.
Re: A syntax error that I can't see whats causing it.
Posted: June 23rd, 2011, 11:43 pm
by IzNoGoD
Wait, you need to be online to start a game offline?
Why dont you just play cod2/4?
Re: A syntax error that I can't see whats causing it.
Posted: June 24th, 2011, 12:09 am
by F |Madness| U
You can't create offline servers for some reason, meaning you have to be online to create a server.
I do play CoD4 (never got into CoD2), however one of my favourite mods on CoD4 is dead now, so I want to remake it on Black Ops where there should be a large enough player base to support it.
Re: A syntax error that I can't see whats causing it.
Posted: June 24th, 2011, 1:23 am
by F |Madness| U
Just about to test it but getting syntax errors with this bit of code:
Code: Select all
deathMessage = [];
        deathMessage[0] = "message 1";
        deathMessage[1] = "message 2";
        deathMessage[2] = "message 3";
       Â
        players = getentarray("player","classname");
        for(i=0;i<level.players.size;i++)
        {
       level.players[i] iprintlnbold(deathMessage[][randomint(deathMessage[].size)]);
        }
Re: A syntax error that I can't see whats causing it.
Posted: June 24th, 2011, 2:45 am
by megazor
Code: Select all
deathMessage = [];
deathMessage[0] = "message 1";
deathMessage[1] = "message 2";
deathMessage[2] = "message 3";
players = getentarray("player","classname");
for ( i = 0; i < players.size; i++)
players[i] iprintlnbold(deathMessage[ randomint(deathMessage.size) ]);
Re: A syntax error that I can't see whats causing it.
Posted: June 24th, 2011, 2:49 am
by F |Madness| U
Ah of course, stupid me. Thanks.