Page 1 of 1

player.vehicleHp only works in multiplayer?

PostPosted: Thu Jun 14, 2018 10:52 pm
by Skull Kid
This was kind of a handy command. It changes the current hitpoints of the player, but it only seems to work in multiplayer. When I try it in single player, even by using the player.active command, followed by my player id, it doesn't work at all in single player.

Re: player.vehicleHp only works in multiplayer?

PostPosted: Fri Jun 15, 2018 2:13 am
by Swaffy
My guess is that certain commands are server based and not client. Local server counting as that.

Re: player.vehicleHp only works in multiplayer?

PostPosted: Fri Jun 15, 2018 2:17 am
by Skull Kid
I see. Well, not much I can do about it then.

Re: player.vehicleHp only works in multiplayer?

PostPosted: Wed Sep 12, 2018 8:26 pm
by Skull Kid
I'm also right now trying to make the console show my vehicle ID, without typing "object.listobjectsoftemplate" and then the objects name.

Anyone who can come up with a solution for this, I'd be extremely grateful!

NOTE: This is for Single Player.