Завантаження...

Simple Pay 'n' Spray creator 1.1

Завантажити
schio84dude

253

I made this script with the aim of giving more life to the mod maps and cities, bringing the classic Pay 'n' Spray from the old GTAs games. The paynspray.cs script is light, simple and open, editable, and I intend to add more things to it, for now it has the following characteristics:

version 1.1:

_fixed the bug of duplicating icons on the map every time the paynspray.config and paynspray.ini files are reloaded with the Ctrl+C key

_now the painting only occurs when the car is stopped over the mark (credits to floydturbo)

_added fade in/out function for smooth vehicle color change (credits to floydturbo)

_added the function to show the blip icon on the map and radar only when the player is close, option added in the paynspray.config file (credits to floydturbo)

_added the default function for pay'n'spray to refuse emergency and police vehicles, and this is configured individually for each point created on the map, in the paynspray.ini file (credits to floydturbo)

_added the default function for pay'n'spray to refuse the vehicle if it is wanted and in the police's field of vision (isWantedAndHasBeenSeenByCops), and this can be configured individually for each point created on the map, in the paynspray.ini file (credits to floydturbo)

_added the function to charge the amount for each type of vehicle, if the vehicle does not have a defined type (mod), then the default rate (100) is charged, and each amount can be configured in the paynspray.config file (credits to votrinhan88)

_added the possibility of naming each pay'n'spray point created individually in the paynspray.ini file (default description: Pay'n'Spray)

_added the possibility of changing each pay'n'spray blip icon created individually in the paynspray.ini file (default blip icon name: LosSantosCustoms)

version 1.0:

_add Pay'n'Spray points only when you are in the vehicle by pressing the keys: Ctrl +E

_If you are in chase mode, your wanted level is lost

_this Paynspray changes the primary and secondary colors (if the vehicle has it) of your vehicle randomly by RGB, not just following the standard colors of each vehicle.

_if you manually modify the files, reload the configuration files payspray.config and the saved points file payspray.ini by pressing the Ctrl+C keys during the game

_A new one can only be created at a minimum distance of 10 units from another point.

_in addition to the marking on the ground, the blip icon is added to the map.

_the activation keys and default value can be changed in the config file

_the saved x y z points, the amount to be charged for each pay'n'spray point and which audio file will be played can be changed in the .ini file.

_with an interval of approximately 7 seconds between paint job changes

Known bugs:

_ sometimes it doesn't emit the spray sound (spray.ogg file)

_whenever you reload the .ini files with the Ctrl+C keys, the old points on the map remain causing duplication in navigation, but when you restart the game the problem disappears and the script starts only with the valid blibs points :)

_______put the files in script folder

PTBR:

Fiz esse script com o intuito de dar mais vida aos mapas e cidades mod, trazendo o classico Pay 'n' Spray dos antigos jogos GTAs. O script paynspray.cs é leve, simples, aberto e editavel, e pretendo adicionar mais coisas pra ele, por hora ele possui as seguintes caracteristicas:

versão 1.1:

_corrigido problema do bug de duplicar icones no mapa a cada vez que os arquivos paynspray.config e paynspray.ini são recarregados com as teclas Ctrl+C

_agora a pintura so ocorre quando o carro estiver parado sobre a marca (creditos ao floydturbo)

_adicionada função de fade in/out para troca suave da cor do veiculo (creditos ao floydturbo)

_adicionada a função de mostrar o icone blip no mapa e radar so quando o jogador estiver proximo, opção adicionada no arquivo paynspray.config (creditos ao floydturbo)

_adicionada a função como padrão para o pay'n'spray recusar veiculos de emergencia e policia, e isso por ser configurado de maneira individual para cada ponto criado no mapa, no arquivo paynspray.ini (creditos ao floydturbo)

_adicionada a função como padrão para o pay'n'spray recusar o veiculo se estiver como procurado e no campo de visão da policia (isWantedAndHasBeenSeenByCops), e isso por ser configurado de maneira individual para cada ponto criado no mapa, no arquivo paynspray.ini (creditos ao floydturbo)

_adicionada a função para valor de cobrança para cada tipo de veiculo, se o veiculo não tiver tipo definido (mod), então é cobrado a taxa padrão (100), e cada valor pode ser configurado no arquivo paynspray.config (creditos ao votrinhan88)

_adicionada a possibilidade de nomear no arquivo paynspray.ini cada ponto pay'n'spray criado individualmente (descrição padrão: Pay'n'Spray)

_adicionada a possibilidade de aletrar no arquivo paynspray.ini cada icone blip de pay'n'spray criado individualmente (nome icone blip padrão: LosSantosCustoms)

versão 1.0:

_adicione pontos Pay'n'Spray somente quando estiver com veiculo pressionando as teclas: Ctrl +E

_se tiver em modo perseguição, seu nivel de procurado é perdido

_esse Paynspray altera as cores primarias e secundarias (se o veiculo a tiver) do seu veiculo aleatoriamente por rgb, nao seguindo apenas as cores padrões de cada veiculo

_caso modifique manualmente os arquivos, recarrege os arquivos de configuração payspray.config e o arquivo de pontos salvos payspray.ini pressionando as teclas Ctrl+C durante o jogo

_so pode ser criado um novo a uma distancia minima de 10 unidades de outro ponto.

_alem da marcação no chão é adicionado o icone blip no mapa.

_pode ser alterado no arquivo config as teclas de acionamento e o valor padrão

_pode ser alterado no arquivo .ini os pontos salvos x y z, o valor a ser cobrado pra cada ponto pay'n'spray e qual arquivo de audio sera reproduzido.

_existe um intervalo de espera de aproximadamente 7 segundos para cada vez que mudar a cor passando pelo marcador


Bugs conhecidos:

_ as vezes ele não emite o som do spray (arquivo spray.ogg)

_sempre que recarregar os arquivo .ini com as teclas Ctrl+C os pontos antigos do mapa permanecem causando duplicidade na navegação, mas ao reiniciar o game o problema somen e o script inicia somente com os pontos blibs validos :)
Show Full Description

Перше завантаження: 04 Березня 2025
Останнє оновлення 07 Березня 2025
Last Downloaded: 1 день назад

All Versions

 1.1 (current)

36 завантажень , 5,0 кБ
07 Березня 2025

 

11 завантажень , 5,0 кБ
07 Березня 2025

 1.0

206 завантажень , 8,0 кБ
04 Березня 2025

11 коментаря