Bibliothèque★ 13mis à jour janv. 2024Pas de licencePawnsampctl
Ouvrir sur GitHubCe dépôt n’a pas de fichier de licence. Il est public en lecture, mais cela ne donne pas à lui seul le droit de le réutiliser.
Installer avec sampctl
sampctl package install Vasily-X/vSync
Lance ceci dans le dossier de ton projet. sampctl télécharge le paquet et ce dont il dépend.
L’essayer dans le compilateur Pawn →
Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un script.
Dépend de 3 paquets
- southclaws/samp-stdlibpas dans cet annuaire
- zeex/amx_assemblypas dans cet annuaire
- misiur/ysi-includespas dans cet annuaire
README.md
Vehicle Synchronization
This include contains some bug fixes and new vehicle related functions.
Bug Fixes
- No more desynchronized vehicle colors when using
-1for the color parameters. - Players won't collide anymore if they enter at once inside a mod shop.
- OnVehicleRespray isn't called anymore when you exit a mod shop if the colors didn't change.
- OnVehicleRespray isn't called anymore when a component is previewed inside a mod shop.
- Now the Firetruck (ladder variant) has the
addsirenparameter set to true by default. - Vehicles won't change their color to white anymore when a paintjob is removed.
- Bullbar components won't use anymore the same slots as front/rear bumpers (
GetVehicleComponentInSlot). - Now
GetVehicleComponentInSlotworks correctly when checking theCARMODTYPE_STEREOslot. - Players won't crash anymore if someone tries to add an invalid component to a vehicle.
Features
- Now Pay 'n' Spray shops apply random colors and call
OnVehicleRespray. - Now
ChangeVehicleColorapplies random colors when using-1for the color parameters. - When using random colors, vehicles get their own colors, those used single player.
- Two new vehicle component slots:
CARMODTYPE_FRONT_BULLBAR,CARMODTYPE_REAR_BULLBAR. Check "Modified Functions" in the documentation. - Neon lights related functions (with offsets for all vehicles and Streamer support).
- New functions and callbacks (check the documentation).
External Links
Official SA-MP Forums thread
http://forum.sa-mp.com/showthread.php?t=642022
SA-MP Wiki documentation
Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche