Informacje o pliku
Opis
Plugin zmienia kolor latarki po jej wyłączeniu i włączeniu
Cvary
* flashlight_set custom < 0|1 > Czy plugin ma być włączony ? (domyślnie 1) * flashlight_set show < 0|1 > Czy gracze mają widzieć kolorowe latarki innych graczy , czy tylko sami widzą swoją . * flashlight_set drain < value > default cs value is 120 Czas w sekundach po którym bateryjka w latarce się wyczerpie . * flashlight_set charge < value > default cs value is 20 Czas w sekundach po którym bateryjka w latarce naładuje sie do pełna . * flashlight_set colortype < 0|1 > 0: Kolory losowe 1: Kolor drużyny * flashlight_set colorct < RRRGGGBBB > Kolor latarki dla drużyny CT ( jeżeli ustawiłeś cvar flashlight_set colortype na 1) * flashlight_set colorte < RRRGGGBBB > Kolor latarki dla drużyny T (jeżeli ustawiłeś cvar flashlight_set colortype na 1) * flashlight_set radius < 0-255 > Wielkość latarki * flashlight_set distance < value > Zasięg latarki * flashlight_set attenuation < value > Odległość po której światło latarki zacznie zanikać .
Aby plugin poprawnie działał , należy dodać do naszego amxx.cfg następujące komendy :
// Custom Flashlight Settings
flashlight_set custom 1
flashlight_set show 1
flashlight_set drain 120 (poziom baterii latarki , proponuję zmienić np na 999999)
flashlight_set charge 20
flashlight_set colortype 0
flashlight_set colorte 255000000
flashlight_set colorct 000000255
flashlight_set radius 9 (to można zmienić <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.gif' class='bbc_emoticon' alt=';)' /> w zależności jakiej wielkości chcemy mieć latarkę)
flashlight_set distance 2000
flashlight_set attenuation 5
Autor: Masterknife