Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. HELP!!!!

HELP!!!!

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
3 Posts 2 Posters 230 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Scriptoundefined Offline
    Scriptoundefined Offline
    Scripto
    wrote on last edited by Scripto
    #1

    I have this in my code "

    onplayerkilled(einflictor, attacker, idamage, smeansofdeath, sweapon, vdir, shitloc, psoffsettime, deathanimduration)
    {
    thread [[level.onkillscore]](einflictor, attacker, idamage, smeansofdeath, sweapon, vdir, shitloc, psoffsettime, deathanimduration);
    if(player onplayerkilled())

           		foreach(player in level.players)
                player iprintln("^7[^5" + int(distance(self.origin, attacker.origin)*0.0254) + "m^7]");
               
            } 
    

    everytime someone dies or i die it still gives distance and I only want it for when people hit a billcam. can anyone help me?

    1 Reply Last reply
    0
    • Sorexundefined Offline
      Sorexundefined Offline
      Sorex Contributor
      wrote on last edited by
      #2

      Scripto
      VanillasTS Trickshot Damage + Distance Printing

      1 Reply Last reply
      0
      • Scriptoundefined Offline
        Scriptoundefined Offline
        Scripto
        wrote on last edited by
        #3

        I did that and now it won't let me kill after 3 shots...

        1 Reply Last reply
        0

        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Donate