• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Any help for this error

Something is missing. Where do you call this? There must be slot item checking somewhere.
Edit: You edited your reply, Didn't notice.
 
Something is missing. Where do you call this? There must be slot item checking somewhere.
Edit: You edited your reply, Didn't notice.
I'm new as an administrator on my server, so I still know very little about many things on it, but these errors that appear I'm trying to solve them
I posted these 2 files because my distro indicates it's the path
Post automatically merged:

here
 

Attachments

Last edited:
Too many custom functions, I got lost. But you can try adding if isPlayer(cid) then or if isPlayer(attacker) then before every getPlayerSlotItem depending on which of them it's checking in the next line.
 
I did what you said but the error persists, every time some pokemon uses Ember or Poison Powder this error appears in the distro
 
Back
Top