Rychlost scriptu

Místo pro dotazy a rady ohledně programovacích jazyků (C++, C#, PHP, ASP, Javascript, VBS..) a tvorby webových stránek

Moderátor: Mods_senior

Mrbago
nováček
Příspěvky: 2
Registrován: květen 16
Pohlaví: Muž
Stav:
Offline

Rychlost scriptu

Příspěvekod Mrbago » 05 kvě 2016 20:59

Ahoj, neví někdo jak se mění rychlost v tomhle scriptu? Jde o script, který automaticky přehazuje zbraň v jedné hře, konkrétně GTA.

Kód: Vybrat vše

{$CLEO}
 
wait 0
 
repeat
    wait 0
until Player.Defined(0)
 
while true
    wait 0
    if and
        not Actor.Driving($PLAYER_ACTOR)
        8818: not actor $PLAYER_ACTOR in_air
        0AB0: 2 // RBM
    then
        if 0AB0: 2
        then
            while 0AB0: 2
                wait 0
            end
 
            1@ = 0
 
            /* 1@ = -1
            for 0@ = 22 to 32 step 1 // List guns
                if or
                    1@ == 25
                    1@ == 26
                    1@ == 27
                then continue
                end
         
                if 02D8: actor $PLAYER_ACTOR current_weapon == 0@
                then
                    1@ = 0
                    break
                end
            end */
 
            if 1@ <> -1
            then
                0470: 0@ = actor $PLAYER_ACTOR current_weapon
                while true
                    wait 0
                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
                    0470: 1@ = actor $PLAYER_ACTOR current_weapon
                    if or
                        1@ == 0
                        1@ == 1
                    then break
                    end
                end
         
                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0@
            end
        end
    end
end

Reklama
  • Mohlo by vás zajímat
    Odpovědi
    Zobrazení
    Poslední příspěvek
  • Nižší rychlost internetu po rekonstrukci Příloha(y)
    od PlumJelinek » 25 lis 2024 19:54 » v Administrace sítě
    6
    4722
    od Riviera kid Zobrazit poslední příspěvek
    26 lis 2024 12:48

Zpět na “Programování a tvorba webu”

Kdo je online

Uživatelé prohlížející si toto fórum: Majestic-12 [Bot] a 4 hosti