• 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!

Last script to make my server online!

Evil Mark

Active Member
Joined
Nov 23, 2008
Messages
1,707
Reaction score
32
I'm using a Switch ID: 1945

Under the Switch is an Aol.

I Want you to ADD a script here that'll do so whenever i pull the Switch, i'll receive an amulet of loss, for free.. and i can pull it how many times i want.

Thanks after this Script im releasing my new update.
 
Code:
function onUse(cid, item, toPosition, itemEx, fromPosition)

local uid = XXXX
local aolID = XXXX

if item.uid == uid and item.itemid == 1945 then

	doPlayerAddItem(cid, aolID, 1)
	doTransformItem(item.uid, item.itemid+1)

elseif item.uid == uid and item.itemid == 1946 then

	doPlayerAddItem(cid, aolID, 1)
	doTransformItem(item.uid, item.itemid-1)
else
	doPlayerSendCancel(cid, "Sorry, not possible.")
	end
end

Not tested
 
Moderator Message: Please create threads in the correct sections at this forum, if you need help with scripts like this, the "Request and Support" section seem to fit.

Thread moved.
 
Back
Top