Search the Community
Showing results for tags 'synced'.
Found 2 results
226 downloadsThis should save you some time writing your own syncing when it comes to using player.setClothes() for values over 255 until 1.0 gets released. The download has example scenarios/commands you can use. Serverside Functions: player.changeClothes(Number componentId, Number drawable, Number texture, Bool save, Bool sync) player.resetClothes() Save parameter: By setting this to true the script will remember these values and re-apply these when using player.resetClothes() Sync parameter: If you set this parameter to false the clothes will only be applied on the target client. Set this to true and everyone will see the clothes! Demonstration: This GIF has both save and sync parameter set to false to preview the selected item before actually purchasing it. Once purchased, both save and sync are set to true to remember the purchased item and to sync it to all other clients https://imgur.com/a/gsySyPc And this GIF shows the same interaction but from the other client https://imgur.com/a/0IankaB
753 downloadsI converted this system from a previous GTA Multiplayer Client. I never had time to update it or add new features so it comes as is. It adds animals that are fully synced to each client with different states such as: Fleeing Grazing Wandering There are two animals to start: Deer Boar + More can be easily added. It also includes a command that allows you to pickup an animal that is dead. (Mainly for RP servers) MAY REQUIRE SMALL TWEAKS TO WORK