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

[Request] Action Casino

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
I wanted a scripter so.
you to use in on something, in that the scripter chooses whether you win or lose, you need to 1kk participar.E you choose the position of where the money comes
rep+:peace:
 
Something like this?
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if doPlayerRemoveMoney(cid, 1000000) then
		if math.random(1, 2) == 1 then
			doPlayerSendTextMessage(cid, 27, "You doubled your money!")
			return doPlayerAddMoney(cid, 2000000)
		else
			return doPlayerSendTextMessage(cid, 28, "You lost your money!")
		end
	end
return doPlayerSendCancel(cid, "You need 1kk to gamble.")
end
 
Code:
local pos = {x=111, y=111, z=7}

function onUse(cid, item, fromPosition, itemEx, toPosition)
	if doPlayerRemoveMoney(cid, 1000000) then
		if math.random(1, 2) == 1 then
			doCreateItem(2160, 100, pos)
			doCreateItem(2160, 100, pos)
			return doPlayerAddMoney(cid, 2000000)
		else
			return doPlayerSendTextMessage(cid, 28, "You lost your money!")
		end
	end
return doPlayerSendCancel(cid, "You need 1kk to gamble.")
end
 
Wops
Code:
local pos = {x=111, y=111, z=7}

function onUse(cid, item, fromPosition, itemEx, toPosition)
	if doPlayerRemoveMoney(cid, 1000000) then
		if math.random(1, 2) == 1 then
			doCreateItem(2160, 100, pos)
			return doCreateItem(2160, 100, pos)
		else
			return doPlayerSendTextMessage(cid, 28, "You lost your money!")
		end
	end
return doPlayerSendCancel(cid, "You need 1kk to gamble.")
end
 
Back
Top