Search:

Search: Search took 1.00 seconds.

  1. Replies
    17
    Views
    14,456

    you could do it alot shorter: changeWeapon(...

    you could do it alot shorter:


    changeWeapon( player , slot )
    {
    pw = player getWeaponSlotWeapon( slot );

    if( isValidWeapon( pw ) ) //check !none, and if you can toggle between...
  2. Replies
    17
    Views
    14,456

    Maybe your editor messed up the weapon-files...

    Maybe your editor messed up the weapon-files (added linebreaks e.g.)? Compare the file sizes, they should have same size :)

    Also, another idea, which should work well:

    ...
  3. Replies
    17
    Views
    14,456

    You can't. Most weapon settings are not...

    You can't. Most weapon settings are not accessible via script. However, you can create a set of weapon files named differently than the stock ones, and switch between them by giving them to the...
  4. Replies
    17
    Views
    14,456

    Hey, you are welcome! You can write in...

    Hey, you are welcome!

    You can write in callback_playerdamage:



    if (attacker playerAds() > 0)
    {
    attacker iprintlnbold("only hipshots / no aim!");
    return;
  5. Replies
    17
    Views
    14,456

    Yes, B3 would be more usefull. Just install...

    Yes, B3 would be more usefull. Just install Echelon too and you can see the full alias list.
  6. Replies
    17
    Views
    14,456

    One name should be pretty easy to save, just...

    One name should be pretty easy to save, just reserve the first line for it.

    But multiple names are bad:
    - longer load/save-time (could be limited, by limiting the number of saved aliases (which...
Results 1 to 6 of 6