XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 2 of 2

Thread: GFB npc Buyer

  1. #1

    Join Date
    Oct 2017
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question GFB npc Buyer

    Hello guys! i am new to xenobot and developing scripts for it.

    I am struggeling with buying GFB from npc, not sure how im gonna do it

    should i use

    SDID
    SHPID
    or
    GHPPID?

    thanks for all responds

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Posts
    781
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by flyocb View Post
    Hello guys! i am new to xenobot and developing scripts for it.

    I am struggeling with buying GFB from npc, not sure how im gonna do it

    should i use

    SDID
    SHPID
    or
    GHPPID?

    thanks for all responds
    ??????????

    Code:
    function Self.ShopBuyItemsUpTo(item, c)
    	local count = c - Self.ItemCount(item)
    	if (count > 0) then
    		return Self.ShopBuyItem(item, count)
    	end
    	return 0, 0
    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
  •