Results 1 to 2 of 2

Thread: If pk on screen...

  1. #1
    Normal User hiraansm's Avatar
    Join Date
    Oct 2012
    Posts
    700
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    32
    Rep Power
    6

    If pk on screen...

    i need this action.
    If pk on screen then
    gotolabel('omgomg')
    else
    return..

    somethink like this
    ty anyway

  2. #2
    Normal User Blong's Avatar
    Join Date
    Dec 2012
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5
    Try,

    PHP Code:
    --[[ 
    .
    ______    __        ______   .__   __.   _______ 
    |   _  \  |  |      /  __  \  |  \ |  |  /  _____|
    |  |
    _)  | |  |     |  |  |  | |   \|  | |  |  __  
    |   _  <  |  |     |  |  |  | |  . `  | |  | |_ | 
    |  |_)  | |  
    `----.|  `--'  | |  |\   | |  |__| | 
    |______/  |_______| \______/  |__| \__|  \______| 

    ]]--    

    local get = getcreatures('mf')
    if get.skull == 3 or get.skull == 4 or get.skull == 5 or get.skull == 6 then
        gotolabel("omgomg")
    end 

Posting Permissions

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