28.11.2009, 06:59
Money System
Been willing to know if anyone could assist me with a money system where we don't use GTASA cash, instead using different cash for the server. A explaination to how I expect it to function:
The system would allow players to buy items such as weapons using alternative cash to GTASA dollars. The cash the player has can be seen by typing '/wallet'.
It'll come up with text shown like this:
# Your Cash #
5
The player can than use /buy [amount] [item] to purchase items, with an error message saying:
Not enough cash!
if the player hasn't got enough cash - or if successful:
You have purchased AMOUNT ITEM.
eg.
You have purchased 1 M4.
The player can also use /sell [amount] [item] to sell an item they currently own, with an error message saying:
You have not got that amount of that item!
if the player has not got the right amount of that item as he specified in the command - or if successful:
You have sold AMOUNT ITEM.
eg.
You have sold 1 AK47.
And the player can be able to check their bag by typing '/bag'.
This will come up with text like shown below:
# Your Bag #
SLOT 1: [ITEM]
SLOT 2: [ITEM]
SLOT 3: [ITEM]
Weapons are allocated into a different place, called the equipment. Players type /equipment to get a text such as this:
# Your Equipment #
PRIMARY: [RIFLES/SMGS/SHOTGUNS]
SECONDARY: [PISTOLS]
MELEE: [MELEE WEAPONS]
I do not expect to learn overnight, but I do hope to get started, if anyone can help.
Thanks,
Sacman A.K.A L4D or Giorgio