-
Content Count
2 -
Joined
-
Last visited
Posts posted by robertjfcalais
-
-
This won't work for two reasons.
1. You didn't reference your classes2. You didn't set the pistol as an attachment for the holster. It's set to spawn on your character - which won't work if there's not enough space for it.
I fixed up your mess. Copy-paste the code below. You're welcome.
EntityAI belt = player.GetInventory().CreateInInventory("MilitaryBelt");
belt.GetInventory().CreateAttachment("Canteen");
EntityAI sheath = belt.GetInventory().CreateAttachment("NylonKnifeSheath");
sheath.GetInventory().CreateInInventory("CombatKnife");
EntityAI holster = belt.GetInventory().CreateAttachment("PlateCarrierHolster");
EntityAI pistol = holster.GetInventory().CreateInInventory("Glock19");
pistol.GetInventory().CreateAttachment("Mag_Glock_15Rnd");
pistol.GetInventory().CreateAttachment("PistsolSuppressor");
EntityAI psight = pistol.GetInventory().CreateAttachment("FNP45_MRDSOptic");
psight.GetInventory().CreateAttachment("Battery9V");
EntityAI plight = pistol.GetInventory().CreateAttachment("TLRLight");
plight.GetInventory().CreateAttachment("Battery9V");
No rain since game update 1.12
in Scripting
Posted · Edited by robertjfcalais
Long story short; ever since game update 1.12 went live, it's no longer raining on my game servers. Forcing rain through admin tools makes it fade out immediately, ending after roughly two minutes.
Here's my init.c - the same file that worked flawlessly before game update 1.12 and didn't see any changes since game update 1.11.