25.07.2013, 03:37
*How to add properties:*
All properties are collected in just 1 file: ""PropertyInfo.txt""
Every property uses 1 line and has 9 params:
Code:NameOfProperty, Xcoord, Ycoord, Zcoord, Price, Earning, Owner, IsBought, UnbuyableTime*NameOfProperty*: I don't think this param needs more explanation.
*Xcoord, Ycoord, Zcoord*: This is the location of the property (where the pickup will be spawned)
*Price*: Players will have to pay this amount of cash if they want to buy this property.*
*Earning*: The owner of this property will recieve every minute this amount of cash
*Owner*: This is the name of the player who owns the property. (If property is not owned, the name is "Nobody"
*IsBought*: This value is '1' when de property is bought, and '0' when property is not bought.
*UnbuyableTime*: When a property get bought, nobody can buy it for (default) 15 minutes. (Unless it's sold within this time). This param stores the number of minutes.
me da um exenplo como usar vlw
All properties are collected in just 1 file: ""PropertyInfo.txt""
Every property uses 1 line and has 9 params:
Code:NameOfProperty, Xcoord, Ycoord, Zcoord, Price, Earning, Owner, IsBought, UnbuyableTime*NameOfProperty*: I don't think this param needs more explanation.
*Xcoord, Ycoord, Zcoord*: This is the location of the property (where the pickup will be spawned)
*Price*: Players will have to pay this amount of cash if they want to buy this property.*
*Earning*: The owner of this property will recieve every minute this amount of cash
*Owner*: This is the name of the player who owns the property. (If property is not owned, the name is "Nobody"
*IsBought*: This value is '1' when de property is bought, and '0' when property is not bought.
*UnbuyableTime*: When a property get bought, nobody can buy it for (default) 15 minutes. (Unless it's sold within this time). This param stores the number of minutes.
me da um exenplo como usar vlw