player.vehicleHp only works in multiplayer?

Ask questions, discuss ideas, get answers

player.vehicleHp only works in multiplayer?

Postby Skull Kid » Thu Jun 14, 2018 10:52 pm

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.
Regards,

Skull Kid
User avatar
Skull Kid
 
Posts: 111
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: player.vehicleHp only works in multiplayer?

Postby Swaffy » Fri Jun 15, 2018 2:13 am

My guess is that certain commands are server based and not client. Local server counting as that.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Image
User avatar
Swaffy
 
Posts: 1700
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: player.vehicleHp only works in multiplayer?

Postby Skull Kid » Fri Jun 15, 2018 2:17 am

I see. Well, not much I can do about it then.
Regards,

Skull Kid
User avatar
Skull Kid
 
Posts: 111
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: No registered users and 11 guests

cron