Home   Help Search Login Register  

Author Topic: SPON Money script help  (Read 1472 times)

0 Members and 1 Guest are viewing this topic.

Offline Twan

  • Members
  • *
SPON Money script help
« on: 30 May 2010, 22:45:01 »
Hey all!

This will be my first post in this forum.  

I am working on a civilian mission and am trying to use SPON money script.  I downloaded SPON Core and Money and followed the readme, but it still does not work.  I was wondering if anybody could spot a problem with the way I copied it.  Here is what is in the data files in my mission's folder:

description.ext:
#include "SPON\Core\ui\core.hpp"

extension.ext:
#include "SPON\Core\ui\common.hpp"
#include "SPON\Money\ui\shop.hpp"
#include "SPON\Money\ui\bank.hpp"

init.sqs:
[] call compile preprocessFileLineNumbers "SPON\Core\initCore.sqf"; [["prices.sqf"]] call compile preprocessFileLineNumbers "SPON\Money\initMoney.sqf";

stringtable.csv:
LANGUAGE, "English"

#include "SPON\Core\stringtable.csv"

LANGUAGE,"English","Czech","German","Polish","Russian","French","Spanish","Italian"

// Shopping.
STR_SPON_SHOP_ACTION, "Browse Shop"

STR_SPON_SHOP_DEFAULT_NAME, "Shop"
STR_SPON_SHOP_BUY_BUTTON, "Buy"
STR_SPON_SHOP_SELL_BUTTON, "Sell"
STR_SPON_SHOP_PLAYER_TITLE, "Gear"

// Banking.
STR_SPON_BANK_ACTION, "Bank"

STR_SPON_BANK_DEFAULT_NAME, "Bank"
STR_SPON_BANK_WITHDRAW_BUTTON, "Withdraw"
STR_SPON_BANK_DEPOSIT_BUTTON, "Deposit"

// Shopping & Banking.
STR_SPON_MONEY_CLOSE_BUTTON, "Close"

STR_SPON_MONEY_NUMBER_SEPERATOR, ",", ".", ".", ".", ".", ".", ".", "."

There is also a SPON folder, and in that folder, is Core and oney.  If anyone would be able to help, I would appreciate it.

Thanks!
I also have a few more basic scripting questions, but i'll tackle this thing one part at a time  :)
« Last Edit: 30 May 2010, 22:46:53 by Twan »

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: SPON Money script help
« Reply #1 on: 01 Jun 2010, 15:16:32 »
Hi Twan,

What doesn't work specifically?