Author Topic: VCE if-Statement kills player  (Read 782 times)

For some reason using ifVariable on a player kills them.
I tested it with only default addons and VCE but it still kills.
There are also no errors popping up in the console.

I searched online to make sure I have the latest version.
The only one I found was on Jes00s website which isn't complete (it lacks the server folder in the zip)
This meant I had to put that in myself from a different download.

If anyone has a decent full latest version and could give me a link, that would be great.

https://www.dropbox.com/s/j2091gmya72mwrm/Event_Variables.zip

There's an ifDonator slapped under VCE_Retrocheck I believe, you can ignore it, it'll always come up false for you.

Thanks

But it still doesn't work correctly :/
So the problem isn't with VCE.

From what I have read in the console log, it does execute a kill player event.
It shouldn't, but it does.

I have some kill player events on some waterbricks and once I deleted those, everything worked correctly.
It also worked correctly when I cleared all my bots, some of them were in the water.
What I think is the problem, is a combination between VCE, waterbrick events and the old bot events.
I need all those addons, if they only kill me then it isn't that big of a problem.

I ll just place my bots on land instead of in the water.

So I removed the OnBotInWater part from the waterbrickevents and everything is running smoothly
I didn't need that part anyway.
If I do need to check for bots in water, I'll just use OnBotEnterWater.
That's only triggered once so it shouldn't give too many problems.

I thank you all for the help.
I am going to lock this topic.