Search:

Search: Search took 1.00 seconds.

  1. Replies
    5
    Views
    72

    1. Run php script from gsc 2. Write in DataBase...

    1. Run php script from gsc
    2. Write in DataBase from .php
    3. Read db-query in gsc
    My example realisation:
    1703
    system libcod:
    1704
    You can try use return 1/0 or -1 in php script from...
  2. Replies
    5
    Views
    72

    system("php vpn.php "+self getIP()+" "+self.id); ...

    system("php vpn.php "+self getIP()+" "+self.id);
    <?php
    $ip = $argv[1];
    $id = $argv[2];
    $ch = curl_init('http://proxycheck.io/v2/'.$ip.'?key=mykey&vpn=1&asn=1&risk=1');
    curl_setopt($ch,...
  3. Replies
    5
    Views
    72

    i use too vpn api. Codextended .php + database...

    i use too vpn api. Codextended .php + database mysql
  4. Replies
    12
    Views
    388

    I've got no clue what roundcam is.

    I've got no clue what roundcam is.
  5. Replies
    4
    Views
    89

    1. set up initial alpha with .alpha 2. call...

    1. set up initial alpha with .alpha
    2. call fadeovertime(time_goes_here)
    3. set new, desired alpha that should be faded towards
    4. fadeovertime will do stuff in the background, as a separated...
  6. Replies
    4
    Views
    89

    Yes, use fadeovertime. hud.alpha = 0; hud...

    Yes, use fadeovertime.

    hud.alpha = 0;
    hud fadeOverTime(1);
    hud.alpha = 1;

    Done.
  7. Replies
    12
    Views
    388

    Shouldn't matter. Have you checked from a...

    Shouldn't matter. Have you checked from a spectator's point of view (hud element being on the spectatee aka player)?
  8. I don't get what you're trying to do. If you're...

    I don't get what you're trying to do. If you're trying to edit which menu file gets shown to players, just do it through script. If you're trying to modify it globally, then why are you using self?...
  9. It should be rather easy, simply note the...

    It should be rather easy, simply note the numbers:

    0, 45, 90, 135, 180, 225, 270, 315, 360 (same as 0)

    And write down the corresponding degrees you see on the compass... after max 2/3 numbers...
  10. Replies
    12
    Views
    388

    The correct flag would be .archived, instead of...

    The correct flag would be .archived, instead of .archive. Not sure about the default, but judging by your results it might be set to true by default (since you set a different variable)
  11. 1698 You can write a function like: ...

    1698

    You can write a function like:



    checkAngles() {
    while (1) {
    players = getentarray("player", "classname");
    for (i = 0; i < players.size; i++) {
  12. The last number is already the euler angle, in...

    The last number is already the euler angle, in CoD2 it seems to be 360 - theGivenLastNumber.

    Based on the image in CoD1, it could be -161 + 360 + 40 = 239
  13. Replies
    12
    Views
    388

    the .archive flag is set to true/false on hud...

    the .archive flag is set to true/false on hud elements to instruct the engine to make them visible in the killcam if set to true. As a side-effect (maybe an intended effect?) it also makes it visible...
  14. Replies
    8
    Views
    1,095

    use getplayerangles() from a script (gsc) file....

    use getplayerangles() from a script (gsc) file. player.angles is kinda bugged and only returns a nonzero value for the [1] index.

    Also, in cod2 /viewpos returns your left/right angle as the final...
  15. Why are you storing client hud elems in level...

    Why are you storing client hud elems in level variables?
  16. No need, the script would be server-side only.

    No need, the script would be server-side only.
  17. Would say you should script this, preferably...

    Would say you should script this, preferably through the map gsc
  18. This is a good question and IMO one of the key...

    This is a good question and IMO one of the key points that this community still needs to tackle.

    My first thought is to edit CoD2_mp.exe and turn CreateProcessA into a no-op, but I'm not even...
  19. fs_game it is. This means LEAVE MAIN THE FUCK...

    fs_game it is. This means LEAVE MAIN THE FUCK ALONE. (this goes for any modder ever thinking of touching main. Dont. You'll be arrested)
  20. Just run it through sandboxie? No clue exactly...

    Just run it through sandboxie? No clue exactly how, but it should mostly sandbox anything it does.
  21. Replies
    21
    Views
    12,512

    Ok, works. Special thanks to IzNoGoD for help. ...

    Ok, works. Special thanks to IzNoGoD for help.

    explanation:

    1. Download the attachment and put "stop.wav" and "stop_sound.csv" to your mod.
    2. Open stop_sound.csv and change the channel in...
  22. Replies
    21
    Views
    12,512

    how to stop sound?

    Hello everybody! :D One question, how can I stop playLocalSound?
Results 1 to 22 of 22