Results 1 to 2 of 2

Thread: Items around to ground

  1. #1
    Normal User
    Join Date
    Jun 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3

    Items around to ground

    Hello everyone.

    I'm asking for support since I'm trying to do a code for football soccer game.
    If they ball is around me move it under me. [Itemname: football ID: 2990]

    If X item around, move to ground.

    Thanks for your support!

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Oh my god.

    It makes me sad that you want to cheat in Tibia Soccer, but ok...

    Lua Code:
    for i = -1,1 do 
    	if toptileitem(posx+i, posy+1, posz) == 2990 then
    		moveitems(2990, ground(posx+1, posy+1, posz), ground(posx, posy, posz), 100)
    	end
    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
  •