Results 1 to 5 of 5
  1. #1
    rakkie20's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    I have no idea
    Posts
    61
    Reputation
    10
    Thanks
    26
    My Mood
    Fine

    Need help with mod

    How do i make a mod so that these dvars are set for the admin only?, and that they are executed on respawn?
    self setClientDvar( "perk_grenadeDeath", "javelin_mp" );
    self maps\mp\perks\_perks::givePerk("specialty_grenadep ulldeath");
    Last edited by rakkie20; 09-03-2010 at 01:43 AM.

    OMFG!
    HAX!

  2. #2
    Thunder's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North
    Posts
    13,773
    Reputation
    2920
    Thanks
    3,655
    he postet it on the help section
    /close thread and delete

    [X]
    Crossfire minion since 06-12-2011
    Minecraft minion since 06-20-2011
    Moderator since 08-17-2011
    Global Moderator since 09-10-2011
    Super User since 08-27-2012
    [X] [X] [X]

  3. #3
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013
    Quote Originally Posted by pazzy34 View Post
    he postet it on the help section
    /close thread and delete
    This is the correct section. Only post if you can answer his question.

    Ex Middleman

  4. #4
    r_arraz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Your desktop h4x1n up your compooter
    Posts
    370
    Reputation
    16
    Thanks
    76
    My Mood
    Cool
    I believe it's
    Code:
    if( self.name == "NAME HERE" )
    {
     //do stuff
    }
    For on respawn it's either
    Code:
    self endon( "disconnect" );
    self endon( "death" );
    or
    Code:
    self endon( "disconnect" );
    IDK which it is since I can't test because I unistalled MW2.
    [IMG]https://lh4.ggph*****m/_-aCmMp6G0AQ/S4-phW7LRvI/AAAAAAAAALc/3cpKkpjIgUM/s400/display.php.png[/IMG]




  5. #5
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013
    Quote Originally Posted by r_arraz View Post
    I believe it's
    Code:
    if( self.name == "NAME HERE" )
    {
     //do stuff
    }
    For on respawn it's either
    Code:
    self endon( "disconnect" );
    self endon( "death" );
    or
    Code:
    self endon( "disconnect" );
    IDK which it is since I can't test because I unistalled MW2.
    It's death and disconnect, you want the thread to restart whenever you spawn

    Ex Middleman

Similar Threads

  1. [Help Request] Server Hamachi Need Help with Mods
    By micfortier in forum Minecraft Help
    Replies: 0
    Last Post: 05-25-2011, 02:53 PM
  2. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 12:40 PM
  3. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 09:06 PM
  4. [Help] Need help with modding
    By Silverfox2k8 in forum Combat Arms Europe Hacks
    Replies: 5
    Last Post: 12-26-2009, 05:52 PM
  5. Need help with modding plz
    By arcna in forum CrossFire Mods & Rez Modding
    Replies: 0
    Last Post: 09-08-2009, 06:39 PM