biabock / badmin Goto Github PK
View Code? Open in Web Editor NEWAdmin Panel from A3Wasteland(by AgentRev) ported and customized for exile
License: GNU Lesser General Public License v3.0
Admin Panel from A3Wasteland(by AgentRev) ported and customized for exile
License: GNU Lesser General Public License v3.0
With the most recent Exile update these 2 options aren't working. Haven't tried any fixes, but they basically just crash mine and my other admins games
Hello biabock,
For the first I will tell you that you have do a great work and the bAdmin works great.
But one thing doesn't work and I found a solution for it but I am really really new in .sqf but it works now.
You have this in your optionSelect.sqf:
case 3: //Add Money
{
_Poptabs = 10000;
ExileClientPlayerMoney = ExileClientPlayerMoney + _Poptabs;
systemChat "Added 10000 Poptabs for you";
};
case 4: //Add Score
{
_Score = 10000;
ExileClientPlayerScore = ExileClientPlayerScore + _Score;
systemChat "Added 10000 Score for you";
};
But I got everytime I want to add Poptabs or Score an error.
So I take a look and try something out, and it works with this:
private ["_panelType","_displayAdmin","_displayDebug","_displayShop","_adminSelect","_debugSelect","_shopSelect","_Poptabs","_currentPoptabs","_Score","_currentScore"];
case 3: //Add Money
{
_Poptabs = 10000;
_currentPoptabs = player getVariable ["ExileMoney", 0];
_currentPoptabs = _currentPoptabs + _Poptabs;
player setVariable ["ExileMoney", _currentPoptabs];
systemChat "Added 10000 Poptabs for you";
};
case 4: //Add Score
{
_Score = 10000;
_currentScore = player getVariable ["ExileScore", 0];
_currentScore = _currentScore + _Score;
player setVariable ["ExileScore", _currentScore];
systemChat "Added 10000 Score for you";
};
Or is it possible that it works too when you don't ask how many Poptabs the player have?
But it's your Script so :)
With friendly Great,
SyfuxX [Dodo].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.