Results 1 to 4 of 4
  1. #1
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored

    if hit self thread

    whats the code for shotting a player and making them do a thread like
    Shots Player-->Player That Got Hit Does Some Thread
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

  2. #2
    master131backup's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    94
    Reputation
    19
    Thanks
    163
    My Mood
    Angelic
    _damage.gsc
    Callback_PlayerDamage_internal
    Code:
    Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
    {	
    	if(iDamage > 0 && eAttacker.team != victim.team)
                victim thread doSomething();

  3. #3
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    now what about a certain weapon?
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

  4. #4
    master131backup's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    94
    Reputation
    19
    Thanks
    163
    My Mood
    Angelic
    Well this?
    Code:
    Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
    {	
    	if(iDamage > 0 && eAttacker.team != victim.team && sWeapon == "ak47_mp")
                victim thread doSomething();