Thread: On knife kill

Results 1 to 8 of 8
  1. #1
    klg71's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0

    On knife kill

    Hello Community,
    What must i add in my doDvars thread to react if someone make a knifekill?
    or ist this in another thread?
    Thanks for your answers

  2. #2
    lior19940's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    65
    Reputation
    10
    Thanks
    10
    Basicly it isnt in the Dvars thread, its in another thread you create, you can call it "KnifeKilled" without the "". Im not sure if this is the right command, but you have to put something like this:

    self waittill ( "knife_kill" ); \\not sure if this is the right code, but in a thread it should look like this:

    KnifeKilled();
    {
    self waittill ( "knife_kill" ); \\then the code that happens after the knife kill after it.


    }


    Im sure CrazyApple will fix my "waittill" command shortly :P

  3. #3
    Threadstarter
    New Member
    klg71's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    ok thank you
    i will try this

  4. #4
    PP_CrazyApple's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    At home...
    Posts
    841
    Reputation
    28
    Thanks
    416
    My Mood
    Innocent
    Quote Originally Posted by klg71 View Post
    ok thank you
    i will try this
    Well it's not as easy as it looks like
    First you need to notify the knife command

    Code:
    threadname()
    {
    self notify ( "Knife_Kill" );
    
    Code here....
    
    }
    }
    But since i am on holidays, i am unable to tell you the script for the notify, i'm sorry.

    EDIT: If someone could send me a PM with the patch_mp.ff link, i am going to help you gladly.
    Last edited by PP_CrazyApple; 08-03-2010 at 12:10 AM.

  5. #5
    Threadstarter
    New Member
    klg71's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    hmm maybe self notify("Knife_Kill") works but i need the callback function...
    i think..
    does anyone no this?

  6. #6
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,939
    Reputation
    478
    Thanks
    1,746
    My Mood
    Bored
    Next time, post in the right section..

    /moved to help


    Back in '10



    Got a question?PM/VM me!
    I read them all.
    Also contact me via MSN.
    vlad@mpgh.net

    Minion since:07-04-2010
    Mod since:08-31-2010
    Till : 05.07.2011

  7. #7
    Threadstarter
    New Member
    klg71's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    i think i'va not clearly sad what i want^^
    i want that if some knife another, then he should become a precision airstrike
    now everyone who was knifed get that airstrike
    pls help

  8. #8
    Threadstarter
    New Member
    klg71's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    *push*
    sry but i need help^^

Similar Threads

  1. [Release] Knife kill mark
    By Night03 in forum CrossFire Mods & Rez Modding
    Replies: 5
    Last Post: 07-26-2010, 02:16 AM
  2. [Release] first knife kill mark mod
    By Evan in forum CrossFire Mods & Rez Modding
    Replies: 2
    Last Post: 07-18-2010, 11:02 PM
  3. SUPER KNIFE KILL ----nuw---
    By dawhack in forum Combat Arms Mods & Rez Modding
    Replies: 29
    Last Post: 07-06-2010, 03:57 PM
  4. You think You are Pro!! Awesome Knife Kill!!
    By Tiny-Tags7 in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 26
    Last Post: 12-27-2009, 02:44 PM
  5. [Discussion] Old 1 knife kill
    By fatpiehomo in forum Combat Arms Glitches
    Replies: 11
    Last Post: 11-26-2009, 11:11 AM