Results 1 to 2 of 2

Thread: Alert if firefield on screen.

  1. #1
    Normal User
    Join Date
    Dec 2012
    Location
    Australia
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    31
    Rep Power
    4

    Alert if firefield on screen.

    hello guys, ever since the purchase of ibot everyone wants to kill me while I bot haha, so thats why i need an alert if if firefield on screen.
    ty!

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Test this
    PHP Code:
    local FIRE_ID 0000 -- change to fire id

    for VERTICAL = -3, +do
        for 
    HORIZONTAL = -3, +do
            if (
    toptileitem(posx+VERTICAL,posy+HORIZONTAL,posz) == FIRE_IDthen
                playsound
    ("alert.wav"wait(1000)
            
    end
        end
    end 
    Last edited by soder; 01-06-2013 at 06:03 AM.

Posting Permissions

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