Results 1 to 3 of 3

Thread: Help with pz script

  1. #1
    Normal User
    Join Date
    Sep 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Help with pz script

    if pzone == true then
    settargetting('no')
    else
    settargetting('yes')
    end

    Trying to get it to take targeting off when in pz, and turn it on when not in pz.

  2. #2
    Normal User Tswift's Avatar
    Join Date
    Aug 2012
    Location
    USA
    Posts
    114
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Try this:

    Code:
    if (pzone == true) then
    settargeting('off')
    wait(1000)
    elseif (pzone == false) then
    settargeting('on')
    wait(1000)
    end

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Works perfect, thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •