Arcade Prehacks

Results 1 to 3 of 3

Thread: Confused.

  1. #1
    Panda's Avatar
    Join Date
    Sep 2010
    Location
    United States
    Posts
    65

    Confused.

    Hey, I'm new to VB6 and I'm pretty confused on this part of my trainer. It isn't my first one but, the other ones were just dumb practice ones. Anyways, I was wondering on how I change a variable when the variable looks like this
    Code:
    guns_damage = [5, 3, 15, 10, 10, 40, 50, 30, 25, 100, 35];
    I put my button and make the function this
    Code:
    Call Test.SetVariable("gus_damage", 9999)
    I've also tryed
    Code:
    Call Test.SetVariable("guns_damage", [9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999])
    and
    Code:
    Call Test.SetVariable("guns_damage", 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999)
    With no luck, I'm stumped.

    Also, the whole function for the gun variables is,
    Code:
    function set_gun_variables()
    {
        guns_cooldown = [6, 4, 12, 30, 5, 20, 45, 30, 30, 80, 30];
        guns_damage = [5, 3, 15, 10, 10, 40, 50, 30, 25, 100, 35];
        guns_bullet_id = [1, 1, 1, 5, 1, 2, 1, 3, 4, 0, 6];
        guns_bullet_speed = [10, 10, 10, 10, 10, 6.500000E+000, 10, 7, 5, 0, 10];
        guns_ammo = [300, 200, 10, 10, 0, 0, 0, 0, 0, 0, 100];
        guns_take = [300, 100, 20, 15, 50, 10, 10, 20, 12, 20];
        score = [];
        team1_score = 0;
        team2_score = 0;
    }

  2. #2
    Senior Member
    Join Date
    Oct 2008
    Location
    Having a rave in the UK!
    Posts
    1,706

    Re: Confused.

    No idea how to do this. Have not attempted it ever, only in pre-hacks.

    Try looking for other variables that refer to that code for each gun.

  3. #3
    Panda's Avatar
    Join Date
    Sep 2010
    Location
    United States
    Posts
    65

    Re: Confused.

    Yeah, I have been. Moved on with some other things, I'll come back to it in a bit.

    @Edit

    Found it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •