Hello I have a bug when I want to transfer money to a player here is the error code & sorry for my bad English I am french:
Error : Error running system event handling function for resource new_banking: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:54: attempt to index a nil value (local 'zPlayer')
stack traceback:
server.lua:54: 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>
Hello I have a bug when I want to transfer money to a player here is the error code & sorry for my bad English I am french:
Error : Error running system event handling function for resource new_banking: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:54: attempt to index a nil value (local 'zPlayer') stack traceback: server.lua:54: 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>