Error running system event handling function for resource esx_property: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:206: attempt to index a nil value (local ‘xPlayer’)
stack traceback:
server/main.lua:206: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
I got this error trying to buy or rent the instance, it doesnt give me the ownership but i can visit it
I have everything installed, the only thing i dont know if i have installed async well but no errors shown on console about that
pls help
How i could make this green circle to show everyone in the server and they wouldn’t need to buy it and the contents of the stock is different for everyone.
how do i add the interiors? i dont even know the coords to certain interiors and stuff, unless they have names. can i make it so the windows look out to the backyard? im not a perfect scriptor and Im new to mysql. can we talk on discord?
still having the issue and had no answers… does anyone know how to fix the inventory in the appartements ? Like people can deposit guns and take them back but can’t put drugs or etc in their inventory … so how can i fix this
How can i add more properties available ? I’ve tried added thru the DB but when i get on the point … it doesn’t allow me to visit me etc … is there a way
Thats because they are now instanced. Kill their apartment Instance, just look at the code on the client side for when you leave the apartment and you’ll see what event to trigger.