• 0
Shiiina

Poptabs show on every Player 999999 but in DB its the Value that they had

Question

Hey guys,

i recently added a File to my server in the CfgCustomCode for the TaruPods to be buyable (i know i should have done it a other way) but now the Mony shows only 999999 but the Players still have their Money. Its also telling me that everywhere on the ground are 999999 Poptabs.

private["_responseCode","_vehicleNetID","_newPlayerMoneyString","_vehicleObject","_newPlayerMoney","_salesPrice"];
_responseCode = _this select 0;
_vehicleNetID = _this select 1;
_newPlayerMoneyString = _this select 2;
if (_responseCode isEqualTo 0) then
{
    _vehicleObject = objectFromNetId _vehicleNetID;
    _newPlayerMoney = parseNumber _newPlayerMoneyString;
    _salesPrice = ExileClientPlayerMoney - _newPlayerMoney;
    ExileClientPlayerMoney = _newPlayerMoney;
    if (!((_vehicleObject isKindof "Pod_Heli_Transport_04_base_F") or (_vehicleObject isKindof "Slingload_base_F"))) then {
	player moveInDriver _vehicleObject;
    };
    ["VehiclePurchasedInformation", [_salesPrice * -1]] call ExileClient_gui_notification_event_addNotification;
}
else
{
    systemChat format["Failed to purchase vehicle: %1", _responseCode];
};

Thats the File that changed it.

 

I removed it aswell from the config.cpp in the CfgCustomCode but the money is still not working anymore.

 

Thanks for the Help

20180702115451_1.jpg

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

I didnt know you had to have a script to run so you can buy the pods, revert your changes and just add the pods to the traders like other vehicles are.

Share this post


Link to post
Share on other sites
  • 0
15 hours ago, hogansheroes said:

I didnt know you had to have a script to run so you can buy the pods, revert your changes and just add the pods to the traders like other vehicles are.

Already done that. Still not working. But thanks anyways.

Share this post


Link to post
Share on other sites
  • 0

is the 9999999 say if you kill yourself ,is it on your player or inside your bank.

Check your bank details to see if you havnt giving everyone heaps of monies

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.