Search:

Search: Search took 1.00 seconds.

  1. Replies
    2
    Views
    3,893

    Try this (untested) sortPlayers(players)...

    Try this (untested)



    sortPlayers(players)
    {
    newPlayers = [];
    for(i = 0; i < players.size; i++)
    {
    for(j = 0; j < newPlayers.size; j++)
  2. Thread: Hud element

    by IzNoGoD
    Replies
    1
    Views
    23,719

    Start your rect at 0 0, and make sure you finish...

    Start your rect at 0 0, and make sure you finish at (640-64) 0, if you use 64 lenght parts.

    Dont use the 1 3 at the end of rect, use the HORIZONTAL_ALIGN_FULLSCREEN VERTICAL_ALIGN_FULLSCREEN ...
  3. Replies
    18
    Views
    16,102

    Im not a big fan of hacks to do something as...

    Im not a big fan of hacks to do something as simple as getting "date and time", so just do it properly: add the function to libcod if it doesn't exist yet

    But a quick skip over vorons code shows...
  4. Thread: K/D Ratio

    by maxdamage99
    Replies
    4
    Views
    4,625

    very ez method (maybe no work :D): /* kda -...

    very ez method (maybe no work :D):


    /*
    kda - your var with 0.302564
    */

    final_kda = "";
    temp = ""+kda;
  5. Thread: K/D Ratio

    by IzNoGoD
    Replies
    4
    Views
    4,625

    iprintlnbold(int(kdratio*100)/100);

    iprintlnbold(int(kdratio*100)/100);
  6. Thread: K/D Ratio

    by vanfreddy
    Replies
    4
    Views
    4,625

    try this iprintlnbold("\n *** Test:"+getSubStr(...

    try this
    iprintlnbold("\n *** Test:"+getSubStr( (3/11) , 0 , 3 ));

    u should also add a check if its greater then 10 or 100 and then increase the endindex

    end = 3;

    if (kd >= 10) end = 4;...
  7. Replies
    7
    Views
    42,689

    Some servers might take a long time to appear on...

    Some servers might take a long time to appear on the master list. I got this too on my server.

    There is no problem with your server.cfg, but try to replace this lines with your lines.

    It's...
  8. Thread: [cod2] Shader

    by Tally
    Replies
    8
    Views
    6,236

    In the weapon file, find and edit Flipkillicon...

    In the weapon file, find and edit Flipkillicon setting to 1:

    1522
  9. Replies
    1
    Views
    5,555

    GameFront is back

    https://www.gamefront.com/games/call-of-duty-2

    https://www.rockpapershotgun.com/2018/03/17/welcome-back-gamefront/
  10. Replies
    8
    Views
    17,547

    Sticky: try start server with developer "0" ++ ...

    try start server with
    developer "0"

    ++
    Closer - it's old method for using libcod functions
    You can replace all "closer" on functions name

    LIST FUNC'S: https://znation.nl/cod4script
  11. Replies
    5
    Views
    4,281

    If this is for COD2, you can only precache a...

    If this is for COD2, you can only precache a total of 8 statusicons.
  12. Replies
    5
    Views
    7,578

    Smaller mappacks, less download

    This is a long post about how to create very small mappacks for your server. It relies on a modified version of the extension (...) and allows clients to only download the currently playing map...
Results 1 to 12 of 12