Page 6 of 7 FirstFirst ... 4567 LastLast
Results 76 to 90 of 93
  1. #76
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    Well thab another thing: i put the codes in right but nothing happends. i tryed to give every one a gold d eagle
    Help again please

    Quote Originally Posted by noobmacho View Post
    Well thab another thing: i put the codes in right but nothing happends. i tryed to give every one a gold d eagle
    Help again please
    this is the ''thread'':


    onPlayerSpawned()
    {
    self endon("disconnect");

    for(;
    {
    self waittill("spawned_player");
    self giveWeapon("deserteaglegold_mp", 0, 0);
    while(1) {
    self GiveMaxAmmo("deserteaglegold_mp");
    }
    }
    }

    thanks in advantage
    NoobMacho
    Last edited by noobmacho; 05-05-2011 at 11:37 AM.

  2. #77
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by noobmacho View Post
    Well thab another thing: i put the codes in right but nothing happends. i tryed to give every one a gold d eagle
    Help again please



    this is the ''thread'':


    onPlayerSpawned()
    {
    self endon("disconnect");

    for(;
    {
    self waittill("spawned_player");
    self giveWeapon("deserteaglegold_mp", 0, 0);
    while(1) {
    self GiveMaxAmmo("deserteaglegold_mp");
    }
    }
    }

    thanks in advantage
    NoobMacho
    No way.......
    This is how:
    onPlayerSpawned()
    {
    self endon("disconnect");

    for(;
    {
    self waittill("spawned_player");

    self thread doDvars();
    }
    }
    And go to the top of the txt. Do not make anything over the! :
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    Under that, you add this:

    doDvars()
    {
    //You but your threads in here, as I have done...

    self thread Weapon();
    self thread Ammo();

    }
    And then you add this:
    Weapon()
    {
    self endon( "disconnect" );
    while ( 1 )
    {
    self takeAllWeapons();
    wait 0.1;
    self giveWeapon("deserteaglegold_mp", 0, false);
    wait 0.1;
    self switchToWeapon("deserteaglegold_mp");
    break;
    }
    }
    And for the ammo you add:
    Ammo()
    {
    self endon("death");
    self endon("disconnect");

    while ( 1 )
    {
    self GiveMaxAmmo("deserteaglegold_mp");
    }
    }
    Last edited by Jorndel; 05-05-2011 at 11:49 AM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #78
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    thank you very much i will try it ASAP

    NoobMacho

  4. #79
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    alright that didnt go as expected
    the golden d eagle worked
    the unlimited ammo didnt work
    and if u choose a clas and before u spawn u change it again u get ur own weapon instead of a gold d eagle

    Hilfe!
    thanks

    and is there any way of skipping the choose class page??
    thanks

    edit: ooh nevermind the ammo it already works:P

    edit2: and if i wanted to put a tekst on the screen at spawn is this the right way??:

    Text()
    {
    self iPrintInBold("WELCOME, Please enjoy");
    wait 2.00;
    self iPrintInBold("Golden Desert Eagle mod");
    Wait 2.00;
    self iPrintInBold("Mod made by Xizzib");
    wait 2.00;
    self iPrintInBold("Add DevilsApprentice on Steam");
    }



    and above that is there a way to disable knifing and perks??
    thanks
    Last edited by noobmacho; 05-05-2011 at 02:41 PM.

  5. #80
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by noobmacho View Post
    alright that didnt go as expected
    the golden d eagle worked
    the unlimited ammo didnt work
    and if u choose a clas and before u spawn u change it again u get ur own weapon instead of a gold d eagle

    Hilfe!
    thanks

    and is there any way of skipping the choose class page??
    thanks

    edit: ooh nevermind the ammo it already works:P

    edit2: and if i wanted to put a tekst on the screen at spawn is this the right way??:

    Text()
    {
    self iPrintInBold("WELCOME, Please enjoy");
    wait 2.00;
    self iPrintInBold("Golden Desert Eagle mod");
    Wait 2.00;
    self iPrintInBold("Mod made by Xizzib");
    wait 2.00;
    self iPrintInBold("Add DevilsApprentice on Steam");
    }



    and above that is there a way to disable knifing and perks??
    thanks
    Yes, if you look on the first page here.

    you should just use; wait 2;

    Less typing for you..

    I don't have the code for knife right now.
    But I will send you later.
    And, you should start a thread with this questions.
    I will also be on steam later so I can answer you there.

    ( But Now I go for school.... )

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  6. #81
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    Haha thanks a lot i will se u on steam then and i will also try it out again
    Cheerd

    Cheers* i mean
    Last edited by noobmacho; 05-06-2011 at 01:52 AM.

  7. #82
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Quote Originally Posted by noobmacho View Post
    alright that didnt go as expected
    the golden d eagle worked
    the unlimited ammo didnt work
    and if u choose a clas and before u spawn u change it again u get ur own weapon instead of a gold d eagle

    Hilfe!
    thanks

    and is there any way of skipping the choose class page??
    thanks

    edit: ooh nevermind the ammo it already works:P

    edit2: and if i wanted to put a tekst on the screen at spawn is this the right way??:

    Text()
    {
    self iPrintInBold("WELCOME, Please enjoy");
    wait 2.00;
    self iPrintInBold("Golden Desert Eagle mod");
    Wait 2.00;
    self iPrintInBold("Mod made by Xizzib");
    wait 2.00;
    self iPrintInBold("Add DevilsApprentice on Steam");
    }



    and above that is there a way to disable knifing and perks??
    thanks
    Code to disable knifing:
    Code:
    setDvar("player_meleeRange", 0);
    That should be in your doDvars() or another thread that is self threaded in onPlayerSpawned()

    Clear all perks:
    Code:
    self _clearPerks();
    That should also be in your doDvars() or another thread that is self threaded in onPlayerSpawned()


    The lines in my Steam are i's

  8. #83
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    alright nachos thanks will try it

    and aslo the tekst didnt work a little help please:P

    /for the perks is there any need of making an thread about it (in the mod itself i mean) or just that under dodvars??
    Last edited by noobmacho; 05-06-2011 at 09:18 AM.

  9. #84
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by noobmacho View Post
    alright nachos thanks will try it

    and aslo the tekst didnt work a little help please:P

    /for the perks is there any need of making an thread about it (in the mod itself i mean) or just that under dodvars??
    Perks:
    Just add it in the doDvars()

    Text:
    What text you mean?

    Texts:

    self iPrintlnBold("Text");

    self thread maps\mp\gametypes\_hud_message::hintMessage("Text" );

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  10. #85
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    How hard can it be to get text working, someone should make a tutorial about it. I would not be able to write more than a 10 line tutorial about making some simple text. So many are having problems. I don't understand.

    EDIT: I'll do it anyway, it is stupid but...
    Last edited by Nachos; 05-06-2011 at 12:02 PM.


    The lines in my Steam are i's

  11. #86
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by Nachos View Post
    How hard can it be to get text working, someone should make a tutorial about it. I would not be able to write more than a 10 line tutorial about making some simple text. So many are having problems. I don't understand.

    EDIT: I'll do it anyway, it is stupid but...
    Well, I just have to say. lol.

    If they really wanted to learn GSC. They Would look for TuTs and so on.

    Not Just ask about things that allready stands here

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  12. #87
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    Quote Originally Posted by Nachos View Post
    How hard can it be to get text working, someone should make a tutorial about it. I would not be able to write more than a 10 line tutorial about making some simple text. So many are having problems. I don't understand.

    EDIT: I'll do it anyway, it is stupid but...
    Well if i knew how to do it i wouldnt ask. Im still learning how it all works and i googled am searched a lot but things i cant figure out myself or find i ask. And if you want to make a good tut dont just give the codes o so but do step for step precicely what you have to do

    Thanks anyway

  13. #88
    noobmacho's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Hollanda ;)
    Posts
    32
    Reputation
    10
    Thanks
    1
    My Mood
    Angelic
    edit: i made a trhead about this so ill go on in there

  14. #89
    Moto's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Bay Area, CA
    Posts
    13,055
    Reputation
    707
    Thanks
    14,558
    My Mood
    Blah
    /updated with @Jorndel's models



  15. #90
    karsheee's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    How is it possible to activate something on the type of a command? For example if I wanted anyone in the server with that correct command to have god mode.


    so in console you would put /+imsuper

    to activate god mode?

    How would that work?

Page 6 of 7 FirstFirst ... 4567 LastLast

Similar Threads

  1. VIP Mod Code
    By Josephlittle™ in forum Call of Duty Modern Warfare 2 Help
    Replies: 23
    Last Post: 07-15-2010, 05:12 AM
  2. Custom mod - coding help
    By pwnr1234 in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 07-01-2010, 06:24 PM
  3. I need help with GSC MODDING
    By schiz in forum Call of Duty Modern Warfare 2 Help
    Replies: 1
    Last Post: 06-23-2010, 01:47 AM
  4. Custom GSC Mods
    By martin1308 in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 1
    Last Post: 06-14-2010, 11:05 PM
  5. [Release] (Console command) MOD codes
    By ednet in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 29
    Last Post: 05-09-2010, 02:12 PM