Jump to content

Hi Friends Help me plz


xRGamingx

Recommended Posts

How can I do so that when a player enters a market, the money bag on his back is ashen? 

ID Bag:  1550

function creteMoney ()
    Money[1] = createObject(1550, 472.5595703125, 152.0556640625, 1002.2183227539)
----------- 1
	setElementInterior (Money[1], 3)
	setElementDimension (Money[1], 1)
	setObjectScale(Money[1], 1.5)
	setElementCollisionsEnabled(Money[1], false)
	local x1, y1, z1 = getElementPosition(Money[1])
	MoneyCol = createColSphere(x1, y1, z1, 1)
	if isElement(Money[1]) then
		moveMoney = setTimer(moveObject, 2000, 0, Money[1], 2000, x1, y1, z1, 0, 0, 360) 
	else
		if isTimer(moveMoney) then killTimer(moveMoney) end
	end
end

 

Edited by xRGamingx
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...