• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Addons

Ific

New Member
Joined
Apr 14, 2009
Messages
209
Reaction score
0
Location
My Paradise
Hello, I wanna the script for the players can get all addons by using an item.

anyone can help me?

I give rep++
 
Add in data/actions/actions.xml
PHP:
<action itemid="ITEM ID" event="script" value="script.lua"/>

Make new file: data/actions/scripts/script.lua
PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	doPlayerAddAddons(cid, 3)
return TRUE
end

You can change the file name if you want, of course...
 
Back
Top