• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Need Click On Item And Get All Addons

Erikas Kontenis

Excellent OT User
Joined
Jul 3, 2009
Messages
1,936
Reaction score
680
Location
Lithuania
Is Possible Get That Script Then Clicking On Item And U gain All Addons I'm Using 0.2.2 Tfs Please If Can Someone Help Me ;)

I Will Rep++
 
This is only for barbarian, but u can add any addons u want other addons on your own.

LUA:
-- learning lua plx//richux

local citizen     = 22002

function onUse(cid, item, fromPosition, itemEx, toPosition)
	addon = getPlayerStorageValue(cid,citizen)
		if addon == -1 then	 

		doPlayerAddOutfit(cid, 143, 1)
        doPlayerAddOutfit(cid, 143, 2)
		doPlayerAddOutfit(cid, 147, 1)
        doPlayerAddOutfit(cid, 147, 2)
		
		doPlayerSendTextMessage(cid,22,'You have touched magical statue and obtained Barbarian addons!')
		setPlayerStorageValue(cid,citizen,1)
		doSendMagicEffect(getCreaturePosition(cid), 13)
	else
		doPlayerSendCancel(cid, "You have already touched this statue.")
		doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
end
 
Back
Top