Search:

Type: Posts; User: maxdamage99

Page 1 of 19 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    140

    no test, but will work kickSpectators() {...

    no test, but will work


    kickSpectators()
    {
    players = getEntArray("player", "classname");
    for (i = 0; i < players.size; i++)
    {
    player = players[i];
    if (!isDefined(player.pers) ||...
  2. Replies
    7
    Views
    918

    maybe I'm wrong, but still need to describe...

    maybe I'm wrong, but still need to describe hidePlayer() function, I did it like this


    hidePlayer(model)
    {
    self.hidden = model;
    self setModel(model);
    }

    and add some code to the function...
  3. Replies
    16
    Views
    2,198

    :)

    :)
  4. Replies
    16
    Views
    2,198

    1. attach playing sound on other event 2. test...

    1. attach playing sound on other event
    2. test other sounds
    3. try self playSound() before it's be working
  5. Replies
    16
    Views
    2,198

    MEEEEEEEEEEEEEEEN if you using .csv from voron,...

    MEEEEEEEEEEEEEEEN
    if you using .csv from voron, need ONLY


    pls check in game, test, before write some ok? :)
  6. Replies
    16
    Views
    2,198

    use ambientPlay("dr_music"); //example from...

    use


    ambientPlay("dr_music"); //example from Voron
    //
    self playLocalSound("dr_music");


    you no need use random()
  7. Replies
    6
    Views
    1,020

    :confused: i think better need use methods...

    :confused:
    i think better need use methods outside cod2: php, perl, bash etc -> push result from outside into cod2 through "execute" (libcod)
    ...
  8. Replies
    6
    Views
    1,020

    I do not really understand what you want, either...

    I do not really understand what you want, either because
    1. you do not fully say what you need
    or
    2. i do not understand English well)


    if you want to protect your mod in the hands of third...
  9. Replies
    6
    Views
    1,020

    You try make ban by ip or what? Can use any...

    You try make ban by ip or what?

    Can use any convenient method of reading the web file. to get the result in cod2 - use "exec" and better asynchronous:...
  10. Replies
    7
    Views
    1,253

    i think you do some wrong

    i think you do some wrong
  11. Replies
    7
    Views
    1,253

    do you need the distance between the player and...

    do you need the distance between the player and the bullet point of impact?

    I don't know why this code doesn't work, how are you testing? maybe you always shoot at a distance of more than 1000?
    ...
  12. Replies
    3
    Views
    707

    1. try search code from .gsc like: /* ......

    1. try search code from .gsc like:


    /* ... */

    self waittill("menuresponse", menu, response);

    if (menu == "objects1")
    self setmodel(response);
  13. Replies
    6
    Views
    1,057

    onPlayerSpawned() //function when player spawned...

    onPlayerSpawned() //function when player spawned
    {
    /* ... */

    self.isSprint = false;
    self setclientcvar("g_speed", "190"); //libcod: self setg_speed(190);

    /* ... */
    }
  14. Replies
    7
    Views
    1,253

    1642 1. Add my code in function. NO REPLACE YOUR...

    1642
    1. Add my code in function. NO REPLACE YOUR FUNCTION ONLY FOR MY CODE, just add MY code IN YOUR


    Callback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon,...
  15. Replies
    6
    Views
    1,057

    really, download released mod, test, check, look...

    really, download released mod, test, check, look script (how work)
    exists few methods for make "player sprint", but before talk about it you need understand some
    ...
  16. Replies
    7
    Views
    1,253

    hm, i think: better do process dmg, distance and...

    hm, i think: better do process dmg, distance and weap in callback


    codecallback_playerDamage(..., ..., ..., ...)
    {
    if (isDefined(self) && isDefined(eAttacker) && isPlayer(self) &&...
  17. if you using libcod: /* your callback script...

    if you using libcod:


    /* your callback script (callbacksetup) */
    CodeCallback_UserInfoChanged(num)
    {
    name = self get_userinfo("name");
    if (self.name != name && !self isBot())
    {...
  18. Replies
    8
    Views
    3,559

    What do you mean? Will give an example of what...

    What do you mean? Will give an example of what you need :)
  19. Replies
    8
    Views
    3,559

    There is not much code, you can describe it as...

    There is not much code, you can describe it as your own function (translate pseudocode in C/C++)

    You can analyze the function in which this section is located, it is possible to call the upper...
  20. Replies
    2
    Views
    1,581

    example on default gametype scripts. new lines...

    example on default gametype scripts.

    new lines marked like suffix "//+new"

    sd.gsc


    Callback_PlayerKilled(eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, psOffsetTime,...
  21. Replies
    6
    Views
    1,592

    ty for the translation into real english :D

    ty for the translation into real english :D
  22. Replies
    6
    Views
    1,592

    need see ...

    need see


    maps\mp\gametypes\_mysql::asyncQuery

    bcs


    processKickIp(rows, args)
  23. Replies
    4
    Views
    1,638

    i am not familiar with cod1, try this:...

    i am not familiar with cod1, try this: https://github.com/riicchhaarrd/CoDExtended

    It seems to me that the "catching" of rcon commands is already implemented there, you can ask the developer or...
  24. Replies
    2
    Views
    1,547

    Initiate keystrokes on the client? What for?...

    Initiate keystrokes on the client? What for? Everything that you have written does not really make it clear why you need it.
    Maybe I misunderstood, reformulate pls.
  25. Replies
    4
    Views
    1,638

    Yes, thank you. Fact is that I do not use the...

    Yes, thank you.
    Fact is that I do not use the function directly, but through an alias and the value (from) is stored in an auxiliary global variable: level.redir_addr

    apparently when I wrote the...
Results 1 to 25 of 454
Page 1 of 19 1 2 3 4