Skip to content
  • 0 Unread 0
  • 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 426 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Scripto Offline
    Scripto 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
    • Sorex Offline
      Sorex Offline
      Sorex
      Contributor
      wrote on last edited by
      #2

      Scripto
      VanillasTS Trickshot Damage + Distance Printing

      1 Reply Last reply
      0
      • Scripto Offline
        Scripto 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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