Code Monkey home page Code Monkey logo

badmin's People

Contributors

agentrev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

badmin's Issues

TP To & TP To Me not working

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

Add Money & Add Score

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].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.