Charles72 Scripter fou
Messages : 9 Date d'inscription : 02/09/2012
| Sujet: akimbo timer 14/9/2012, 20:18 | |
| Ce script permet de savoir quand l'akimbo va reapparaitre,se termine . Ce script est très utile dans le mode PF. Il vous permet de savoir quand akimbo va reapparaitre ,se termine . Vous aurez un sacré avantage sur les autres joueurs ,il faut mieux 2 pistolet que un - Code:
-
alias "mapstartalways" [say [Hello];checkgun] testcheckgun = 1 rebelote = 1 alias checkgun [ if ($testcheckgun) [if (= (curweapon) 9) [rebelote = 1 ;echo [akimbo pris];alias fdtime (millis);flagcountdown]];sleep 1 [checkgun]]
alias flagcountdown [ testcheckgun = 0
alias flagtime (- 30 (div (- (millis) $fdtime) 1000)) echo (c (fc)) $flagtime if ( > $flagtime 0) [sleep 1000 [flagcountdown]][retourakimbo;rebelote = 0]]
]
alias retourakimbo [alias fdtime (millis);if ($rebelote) [flagcountdown][echo [akimbo libre];testcheckgun = 1]] alias fc [result (at " 3 3 3 3 3 3 3 3 3 3 9 9 9 9 9 9 9 9 9 0 0 0 0 0 0 0 0 0 0 0 0 " (flagtime)) ]
bind "F" [rebelote = 1 ;echo [akimbo pris];alias fdtime (millis);flagcountdown;] Explication du script :Si vous prenez l'akimbo ,le script se lance automatiquement .Si l'ennemie le prends vous pouvez appuyer sur f pour lancer le script . [Vous devez être inscrit et connecté pour voir ce lien]
Dernière édition par Charles72 le 19/11/2012, 20:32, édité 1 fois |
|
Charles72 Scripter fou
Messages : 9 Date d'inscription : 02/09/2012
| Sujet: Re: akimbo timer 15/9/2012, 09:33 | |
| Pour ceux qui ont installé le script [Vous devez être inscrit et connecté pour voir ce lien], remplacez par le code si dessous. Il remplace juste le nom de la variable flagcountdow par akimbocountdown. Pour ma part je n'aime pas tool.cfg ,je préfère faire par moi même - Code:
-
alias "mapstartalways" [say [Hello];checkgun] testcheckgun = 1 rebelote = 1 alias checkgun [ if ($testcheckgun) [if (= (curweapon) 9) [rebelote = 1 ;echo [akimbo pris];alias fdtime (millis);akimbocountdown]];sleep 1 [checkgun]]
alias akimbocountdown [ testcheckgun = 0
alias flagtime (- 30 (div (- (millis) $fdtime) 1000)) echo (c (fc)) $flagtime if ( > $flagtime 0) [sleep 1000 [akimbocountdown]][retourakimbo;rebelote = 0]]
]
alias retourakimbo [alias fdtime (millis);if ($rebelote) [akimbocountdown][echo [akimbo libre];testcheckgun = 1]] alias fc [result (at " 3 3 3 3 3 3 3 3 3 3 9 9 9 9 9 9 9 9 9 0 0 0 0 0 0 0 0 0 0 0 0 " (flagtime)) ]
bind "F" [rebelote = 1 ;echo [akimbo pris];alias fdtime (millis);akimbocountdown;] |
|