Jump to content

It's not working for me "findPlayer"


Panda.SuS

Recommended Posts

Hi!
Someone explain to me where the bug is here??

ERROR: [Cejot]/[Project23]/P23-admin/s_cmd.lua:518: call: failed to call 'P23-Core:findPlayer' [string "?"]

Code:
Spoiler
local target=exports["P23-Core"]:findPlayer(plr,cel)
        if not target then
            outputChatBox("* Nie znaleziono podanego gracza.", plr, 255, 0, 0)
            return
        end

 
Link to comment

 

This error is likely being caused by one of the following:

 

exports["P23-Core"] is nil or not a valid table. This means that the table being accessed does not exist, or it does not have a findPlayer function.

 

The findPlayer function is not functioning correctly. This could be due to an error in the implementation of the function, or it could be due to incorrect arguments being passed to the function.

 

To fix the error, you will need to locate and correct the root cause of the issue. This will likely involve debugging the findPlayer function and/or the code that is calling it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...