xeon17 Posted December 29, 2013 Share Posted December 29, 2013 i wanna crate a prop system so player go on the prop and write command /buyprop1 and he lose 10000 after every 4 minutes he get 100.000 $ i no know how to add (after 4 minutes) can someone tell me createMarker(2439.23340, 1918.38110, 5.30137,"cylinder",2,0,0,255,255) createBlip(2439.53003, 1916.40454,6.31917,61) function Prop () local money = getPlayerMoney(player) if (money >= 10000) then takePlayerMoney(player, 10000) GivePlayerMoney(thePlayer, 100000) the script is 50% , i'll add command handler and chatbox after i know how to set timer 4 minutes Link to comment
Castillo Posted December 29, 2013 Share Posted December 29, 2013 Use the function setTimer. Link to comment
Noki Posted December 30, 2013 Share Posted December 30, 2013 You will need an 'end' at the bottom of your script. Also, it's givePlayerMoney not GivePlayerMoney. Link to comment
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