- Joined
- Dec 17, 2020
- Messages
- 7
- Reaction score
- 2
- First Language
- Turkish
- Primarily Uses
- RMMV
Hi, i'm trying to make a plugin that shows the party learder's health in the screen. Well i'm trying to check if party leader's health is equals to 450 and when i try to check this with plugin i am getting this error:

And when i'm trying to do this with console, i'm not getting any errors. The code works perfectly, btw here is the code:
Why am i getting an error while i running this code with plugin? (Btw sorry for my bad english)

And when i'm trying to do this with console, i'm not getting any errors. The code works perfectly, btw here is the code:
JavaScript:
if ($gameParty.members()[0]._hp == 450){
console.log("450")
}
Why am i getting an error while i running this code with plugin? (Btw sorry for my bad english)