N3MTV / gcphone

Téléphone pour FiveM
104 stars 225 forks source link

gcphone don`t open error #136

Open reyoshh opened 5 years ago

reyoshh commented 5 years ago

Error running call reference function for resource gcphone: citizen:/scripting/lua/scheduler.lua:403: server/server.lua:9: attempt to index a nil value (local 'xPlayer') stack traceback: server/server.lua:9: in upvalue 'ref' citizen:/scripting/lua/scheduler.lua:389: in function <citizen:/scripting/lua/scheduler.lua:388> [C]: in function 'xpcall' citizen:/scripting/lua/scheduler.lua:388: in function <citizen:/scripting/lua/scheduler.lua:387> stack traceback: [C]: in function 'error' citizen:/scripting/lua/scheduler.lua:403: in function <citizen:/scripting/lua/scheduler.lua:372>

Gannon001 commented 5 years ago

Are you sure that it comes from gcphone ?

line 9 don't have variable xPlayer