esx-overextended / es_extended

FiveM RPG Framework
GNU General Public License v3.0
23 stars 9 forks source link

feat(player/methods): allow the set method to be non-networked #52

Closed spacevx closed 10 months ago

spacevx commented 10 months ago

we need to specify networked to false

local player = ESX.GetPlayerFromId(1)
player.set("test", 500) -- this will be networked
player.set("test1", 487, false) -- this won't be networked