Results 1 to 5 of 5

Thread: Dúvida

  1. #1
    iBot User
    Join Date
    Dec 2012
    Posts
    83
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    12
    Rep Power
    4

    Question Dúvida

    Resolvido.
    Last edited by lartex; 01-31-2013 at 05:55 PM.

  2. #2
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    se tiver parado por mais de 10 segundos ele vai empurar o que tiver no sqm, não importa o que for, para um sqm a DIREITA das coordenadas, só precisa arrumar as coordenadas.
    PHP Code:
    local x,y,123,123,--change the sqm
    if standtime 10000 then
    moveitems
    (toptileitem(x,y,z), ground(x,y,z), ground(x,y+1,z), 100)
    end 
    porém se seu intuito for querer empurrar sem um sqm especifico, dai terei que refazer x)
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  3. #3
    iBot User
    Join Date
    Dec 2012
    Posts
    83
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    12
    Rep Power
    4
    Resolvido, vlw
    Last edited by lartex; 01-31-2013 at 05:56 PM.

  4. #4
    iBot User pedrobr's Avatar
    Join Date
    Jun 2012
    Posts
    198
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    15
    Rep Power
    5
    Você já tem 1 direção, então tá aqui as outras 3.

    PHP Code:
    local x,y,123,123,--change the sqm
    if standtime 10000 then
    moveitems
    (toptileitem(x,y,z), ground(x,y,z), ground(x,y-1,z), 100)
    end 
    PHP Code:
    local x,y,123,123,--change the sqm
    if standtime 10000 then
    moveitems
    (toptileitem(x,y,z), ground(x,y,z), ground(x+1,y,z), 100)
    end 
    PHP Code:
    local x,y,123,123,--change the sqm
    if standtime 10000 then
    moveitems
    (toptileitem(x,y,z), ground(x,y,z), ground(x-1,y,z), 100)
    end 

    Abraços.

  5. #5
    iBot User
    Join Date
    Dec 2012
    Posts
    83
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    12
    Rep Power
    4
    Obrigado rapaziada!

Posting Permissions

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