Mixed-up team test

THPSX

Banned
I test all 8 mixedteams with the glitch gun somehow it just created single 1 team per second oops forgot put delays to 0.1 default is 1.0 but still going to be 1 team at a time, knowing that the marker are shown in different colors trying to create a war zone. BTW I change the glitch duration very much longer.


Code:
Top thread
TEST_TEAM = 1



Misc Thread


            if TEST_TEAM == 1 then
set_team(LOCAL_PLAYER,"playas")   
TEST_TEAM = 2
        elseif TEST_TEAM == 2 then
set_team(LOCAL_PLAYER,"morningstar")   
TEST_TEAM = 3
                elseif TEST_TEAM == 3 then
set_team(LOCAL_PLAYER,"luchadores")   
TEST_TEAM = 4
        elseif TEST_TEAM == 4 then
set_team(LOCAL_PLAYER,"deckers")   
TEST_TEAM = 5
        elseif TEST_TEAM == 5 then
set_team(LOCAL_PLAYER,"police")   
TEST_TEAM = 6
        elseif TEST_TEAM == 6 then
        TEST_TEAM = 7
set_team(LOCAL_PLAYER,"stag")   
        elseif TEST_TEAM == 7 then
        TEST_TEAM = 8
set_team(LOCAL_PLAYER,"civilian")   
        elseif TEST_TEAM == 8 then
        TEST_TEAM = 1
set_team(LOCAL_PLAYER,"neutral gang")   

        end
               
                if TEST_TEAM == 8 then
                    TEST_TEAM = 1
                else
                    TEST_TEAM = TEST_TEAM + 1
                end

You can copy this code in sandbox+/or vanilla script

And you might be need this too
Code:
set_player_undercover_team(LOCAL_PLAYER, "Playas")
It will make this stay on saints as undercover while you main team is mixed. but sometimes the boss will automatic get out of the vehicle when someone is inside the car.
 
Back
Top