/**
*
*
* Handles properties and other common features for some modes.
*
* 0.1
*
*
* Public
*
* Does the main system processing.
* Adds a property from another script.
* Adds a bank from another script.
* Adds an ammunation from another script.
* Adds a money area from another script.
* Adds a money point from another script.
* Adds a teleport from another script.
* Adds a forbidden area from another script.
* Passes a player's properties.
* Remote wrapper for most minor functions.
* Master system callback.
* Called to save properties on master shutdown.
* Checks if a player is still stood on a pickup.
*
* Core
*
* Called when someone selects something.
* Called when someone exits a menu.
* Called when someone enters a checkpoint (public).
* Called when someone leaves a checkpoint (public).
* Called when someone picks up a pickup (public).
* Called when someone spawns.
* Called when comaone connects.
* Called when someone leaves an area (public).
* Called when someone enters an area (public).
*
* Stock
*
* Gets the number of properties for a player.
* Gets the area or checkpoint for a property.
* Gets a property's type.
* Checks if a property is valid.
* Moves money to/from an account.
* Saves a players weapon for spawn.
* Saves a player's spawn weapons.
* Loads a player's spawn weapons.
* Saves a player's banked money.
* Loads a player's banked money.
* Gets a player's banked money.
* Gets a player's spawn weapons.
* Gets a player's owned properties.
* Set a delay on rebuying properties.
*
* Static
*
* Gets weapon data for a slotid slot.
* Gets a weapon name for a slotid.
* Gets a weaponid from a slotid.
* Generates the menu for ammunation.
*
* Inline
*
* Sets a property's custom flag.
* Checks if a property is active.
* Gets a property's custom flag.
* Gives a player a weapon from it's slot.
* Gets the cost of a slot,
* Gets the ammo of a slot.
* Checks if a player can have a property.
*
* API
*
* Creates a business.
* Creates a bank.
* Creates an ammunation.
* Creates a money area.
* Creates a money point.
* Creates a teleport.
* Creates a forbidden area.
* Deletes a property from the array.
*
* Number of itterations of the main loop a second.
* Max length of the name of a property.
* Max number of properties.
* Invalid return.
* Type for salling armour at ammunation.
* % of money got back for a reduced sale.
*
* e_PROP_FLAGS - Flags for property data.
* E_PROP_DATA - Data for a property.
* E_PROP_AMMU - Data for a persons current ammunation menu.
* - Tagless remote instructions, must have new ones added to the end.
*
* Offset for saving weapons with variable size arrays,
* Gets ammo and cost from parameters and compresses them.
* Like WEAPON_DATA but reads from an array instead.
* Saves a weapon id in the top byte of a cell.
*
*
* Static
*
* Array of all property data.
* Array of player's banked money.
* Bit array of properties a player has.
* Array of weapons a player will spawn with.
* Array of players current menus.
* Array of properties for each area.
* Array of properties for each checkpoint.
* Script has requested a player's properties.
* Temporary store for properties.
* Is this script the global master.
*
* Lets you buy your current property.
* Lets you bank money.
* Lists properties and their owners.
* Displays your current balance.
* Allows you to take out money.
* Allows you to sell a property.
*
* Return data from a remote script.
* Return properties for a player.
*
*
*//** *//*
Legal:
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 the "License"; you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
License.
The Original Code is the YSI framework.
The Initial Developer of the Original Code is Alex "Y_Less" Cole.
Portions created by the Initial Developer are Copyright C 2011
the Initial Developer. All Rights Reserved.
Contributors:
Y_Less
koolk
JoeBullet/Google63
g_aSlice/Slice
Misiur
samphunter
tianmeta
maddinat0r
spacemud
Crayder
Dayvison
Ahmad45123
Zeex
irinel1996
Yiin-
Chaprnks
Konstantinos
Masterchen09
Southclaws
PatchwerkQWER
m0k1
paulommu
udan111
Thanks:
JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
ZeeX - Very productive conversations.
koolk - IsPlayerinAreaEx code.
TheAlpha - Danish translation.
breadfish - German translation.
Fireburn - Dutch translation.
yom - French translation.
50p - Polish translation.
Zamaroht - Spanish translation.
Los - Portuguese translation.
Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
me to strive to better.
Pixels^ - Running XScripters where the idea was born.
Matite - Pestering me to release it and using it.
Very special thanks to:
Thiadmer - PAWN, whose limits continue to amaze me!
Kye/Kalcor - SA:MP.
SA:MP Team past, present and future - SA:MP.
Optional plugins:
Gamer_Z - GPS.
Incognito - Streamer.
Me - sscanf2, fixes2, Whirlpool.
*/
#if !defined _INC_y_properties
#tryinclude "y_properties\y_properties_entry"
#endif
#if !defined _INC_y_properties
#tryinclude "YSI_Visual\y_properties\y_properties_entry"
#endif
#if !defined _INC_y_properties
#tryinclude "YSI\YSI_Visual\y_properties\y_properties_entry"
#endif
#if !defined _INC_y_properties
#tryinclude
#endif
#if !defined _INC_y_properties
#tryinclude
#endif
#if !defined _INC_y_properties
#error Could not find y_properties
#endif