Jump to content

Question


manve1

Recommended Posts

Posted (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 by Guest
Posted
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?
Posted
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 ...

Posted
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.

Posted

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?

Posted

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 

Posted

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?

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...