![]() I am going to make an object since it is pretty easy to do while the killing and dying and team killing can get really complicated. ![]() You can also make an object that can add cash to the players 'Bank'. You can add cash after a player makes a kill and you can even make the player loose cash after each death or team kill. If you want the player to start with 10k for example the amountofmoney would be 10000 (never put comas 10,000 <- this is wrong)ĮXAMPLE: My variable name is money and i want to start with 1500 money it would be like this: money = 1500 The amountofmoney is the amount of money you want the player to have in the start of the mission. The variable name could be something like this: money = amountofmoney, cash = amountofcash, dollars = amountofcash. If you are making a cash script the variable name should remind you of money. The variablename could be anything that comes out of your head. Open the init.sqf file and put inside something like this (exactly like this) The 'Simple Money Script' is really simple :Dģ. Making a 'Simple Money Script' is super easy and it is the base for making the shops later. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |