MaRcell Posted February 11, 2014 Posted February 11, 2014 This property created To buy and receive money from the profit equal Akelas samp but I can not receive profit local marker=createMarker(2366.2221679688,1982.6693115234,10.8203125,"cylinder",2,0,0,255,255) createBlip(2366.2221679688,1982.6693115234,10.8203125,31) function Prop (player) if(isElementWithinMarker(player,marker)) then outputChatBox ( "#FF0000 [PROPRIEDADE]#FF8C00Para Comprar Esta propriedade Digite /comprar (Custa:25.000)", player, 0, 0, 0, true) else return end local money = getPlayerMoney(player) if (money >= 25000) then takePlayerMoney(player, 25000) outputChatBox ( "#FF0000[PROPRIEDADE]#FF8C00Vc Compro A Propiedade Deposito Lv!", player, 0, 0, 0, true) end end addCommandHandler("comprar",Prop) setTimer(function(theplayer) givePlayerMoney(source,2500) end ,5000,0)
xeon17 Posted February 11, 2014 Posted February 11, 2014 I'm sure the script isn't your , so much things are wrong in this script you should read on wiki how the fuctions work
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now