Page 1 of 1

Set "lastinv"

Posted: Wed Jul 18, 2018 6:27 am
by BackRaw
Hi,

is there any way to set the value for lastinv via player.client_command() or something else?
I'm trying to set the property behind it only without causing the player to actually use it like you would with

Syntax: Select all

player.client_command('use weapon_knife', True)
for example.

Thanks!

Re: Set "lastinv"

Posted: Wed Jul 18, 2018 7:16 am
by L'In20Cible

Re: Set "lastinv"

Posted: Wed Jul 18, 2018 9:47 pm
by BackRaw
L'In20Cible wrote:Player.last_weapon

I should've looked through the data files... thank you very much!