Page 1 of 1

teaching/education certificate

Posted: Thu Nov 01, 2012 3:12 am
by energyplay
Hi,

i want to use the teaching certificate in a function, but i think my ID's not the right one :?

Code: Select all

if not player:hasBuff(506687) then
   if inventory:findItem(207204) then
      inventory:useItem(207204)
   end
end

Re: teaching/education certificate

Posted: Thu Nov 01, 2012 3:55 am
by lisa
I just used the name of the buff.

Code: Select all

	if not player:hasBuff("May Establish Honor Party") then
		inventory:useItem(202879);
your item ID seems different though.