Ummm Hai there. I'm not sure if this was fixed already, but when i took a look at the plugin since i wanted to add it to my server.
I think adding this fixed the random spawn glitch at least from what i seen
PHP Code:
public OnClientDisconnect(client)
{
if(petType[client] != 0)
{
KillPet(client, true);
}
}
Though I spotted 2 weird things when I tried to test it more by giving everyone(about 12 people or more) pets
I got a array error that lagged the server a bit.when it was a high amount of people with pets.
It didnt give me that trouble with 8 people though.
The only other glitch I found was one pet was not slayed when i killed off all the pets for some reason.