[ACS] Behavior of Giveinventory in multiplayer
Posted: Wed Dec 13, 2017 8:59 pm
I am trying to give player a shotgun with this NET script:
Player TID is changed with enter script:
Now, nor GiveActorInventory, nor GiveInventory (executed from clientside by server) gives the shotgun !
What am I missing ?
I've ended up with
But it's really tedious for such a simple task. Is there are any other way to give player item in multiplayer by script ?
Code: Select all
GiveActorInventory(256, "Shotgun",1);
Code: Select all
Thing_ChangeTID(0,256+Playernumber());
What am I missing ?
I've ended up with
Code: Select all
Script 1000 (Void) NET
{
SpawnForced ("Shotgun",getactorx(256),getactory(256),getactorz(256),0,0);
consoleCommand("+forward");
delay(3);
consoleCommand("-forward");
}