AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Scavenge gas cans won't spawn, maximum gas can goal is set to 16 (https://forums.alliedmods.net/showthread.php?t=343159)

eyal282 06-22-2023 22:21

Scavenge gas cans won't spawn, maximum gas can goal is set to 16
 
I need a bone on how to fix this bug. The scavenge gas cans don't spawn unless I manually spawn them. Maximum gas cans are set to 16 unless I manually set it. But the moment I pour a single gas can the round ends immediately.

I tried setting the maximum gas cans with both:

Code:

  Member: m_nScavengeItemsRemaining (offset 1144) (type integer) (bits 32) ()
  Member: m_nScavengeItemsGoal (offset 1148) (type integer) (bits 32) ()

And:

https://developer.valvesoftware.com/...ript_Functions

SetScavengeItemsGoal.

eyal282 06-23-2023 10:06

Re: Scavenge gas cans won't spawn, maximum gas can goal is set to 16
 
Solved with this:

https://forums.alliedmods.net/showth...91#post2806291


All times are GMT -4. The time now is 10:16.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.