安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
What you are asking is quite complex but I will give you my best answer.
I am a full-stack dev and an Arma SQF dev.
To achieve the results that you want, you will need to interface the players with a database. This is done by the server. The money of a player would be stored with the players steamID in the database. This would happen for example whenever they joined and left the server. This could be achieved with an arma database tool called External Database 3 or exDB3. This allows for easy interfacing between SQL databases.
So to answer your questions:
1) I would recommend looking at the Altis Life mission file for code examples. This contains money systems and everything under the sun.
2) Interfacing with a SQL database via External DataBase 3. This would store the player SteamID with the money they had.
3) I would not recommend a mod. Most of this is done server-side via scripts and not via additional content.
4) This would be achieved by creating a GUI and a few scripts. When the player would click buy on an item displayed, the script would tell the database to remove x amount of money from the player's account. x here is the price of the item. The GUI could be built with default arma scripts. Search for arma GUIs for help. Once the money is subtracted, the server could simply just give the player said item.
5) You could set up a system that detects sudden changes in money. If this is the case, ban them. You could also have a system that compares their balance when they log in from when they logged out. If these are not the same, ban them.
Anyway, I hope this answered your question. If you require any help contact me on steam. I would be happy to help develop this system with you.
Good Luck!