Đang tải...

Simple Pay 'n' Spray creator 1.2

264

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.2:

_the cost of the painting saved in the ini file, charge: 100 (default value) is now the percentage value to be charged of the value of each class in addition to the generic value for vehicles without a defined class. If you put 50 then half the value will be charged, if 0 then the painting will not be charged, good if you are using mod characters that do not have money. If you enter a negative value like: -9000, then you will receive a certain amount of money :)

_added for each point the option for the vehicle to receive random tuning with the paint job (default: false)

_added for each point the option to repair the vehicle or not in the paint job (default: true)

_the points saved in paynspray.ini now have this new format that is easier to edit:
[name:'Pay'n'Spray'] posX:-1683.663, posY:488.0537, posZ:128.5429, charge:200, sound:'spray.ogg', iconBlip:'LosSantosCustoms', respectPursuit:True, acceptAllVeh:True, vehTuning:False, repairVeh:True

_added in the paynspray.config file the option to change the notification message of each script action (default: messages in Brazilian Portuguese)

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
Show Full Description

Tải lên lần đầu: 04 Tháng ba, 2025
Cập nhật lần cuối: 1 hours ago
Last Downloaded: 1 ngày trước

All Versions

 1.2 (current)

0 tải về , 6 KB
1 hours ago

 1.1

47 tải về , 5 KB
07 Tháng ba, 2025

 

11 tải về , 5 KB
07 Tháng ba, 2025

 1.0

206 tải về , 8 KB
04 Tháng ba, 2025

12 Bình luận