manve1 Posted February 14, 2013 Share Posted February 14, 2013 (edited) How can i create like a player could buy some type of property and then when he trie's to buy some more, he wouldn't be able to the next time? Edited February 15, 2013 by Guest Link to comment
Shazzimal Posted February 14, 2013 Share Posted February 14, 2013 What exactly do you mean? Link to comment
manve1 Posted February 15, 2013 Author Share Posted February 15, 2013 How can i create like a player could buy some type of property and then when he trie's to buy some more, he wouldn't be able to the next time? Link to comment
iPrestege Posted February 15, 2013 Share Posted February 15, 2013 Any kind of property? How are you going to do?Object?Or? Link to comment
Shazzimal Posted February 15, 2013 Share Posted February 15, 2013 Somyou want this: A player can buy a property. The next time he wants to buy it, he can't. Link to comment
Blaawee Posted February 15, 2013 Share Posted February 15, 2013 you can use tables or elements data getElementData setElementData Link to comment
manve1 Posted February 15, 2013 Author Share Posted February 15, 2013 Any kind of property? How are you going to do?Object?Or? propertye's are different stuff, but mostly it is objects like: houses, areas, ect ... Link to comment
albers14 Posted February 15, 2013 Share Posted February 15, 2013 you can use tables or elements data getElementData setElementData I would rather say setAccountData as setElementData get removed as soon as the player leaves the server. Link to comment
manve1 Posted February 15, 2013 Author Share Posted February 15, 2013 well, i did look at it, i figured out the best way to do it, thanx. tho how can i make that when i set the account data, and when player hits a col cuboid it opens a gate for him? but if he doesn't have a certain account data, it won't work? Link to comment
TAPL Posted February 16, 2013 Share Posted February 16, 2013 You need to get the account first then get the account data, if he has the data then open the gate for him? getPlayerAccount isGuestAccount -- You might need this. getAccountData Link to comment
manve1 Posted February 16, 2013 Author Share Posted February 16, 2013 tapl, i got that part, but how can i make so that when a person buys a garage, and tries to buy another one, it wouldn't work? Link to comment
TAPL Posted February 16, 2013 Share Posted February 16, 2013 ~_~ How does the garage saved for the person? Link to comment
manve1 Posted February 16, 2013 Author Share Posted February 16, 2013 Figured it out. 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