Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. ```c
  2. proto native int GetNominal(); // nominal - how many items should be aproximately in map
  3. proto native int GetMin(); // min - minimal count should be available in map
  4.  
  5. proto native float GetQuantityMin(); // min quantity (0.0 - 1.0) (like ammobox - this determine how many bullets are there, or water bottle)
  6. proto native float GetQuantityMax(); // max quantity (0.0 - 1.0) (like ammobox - this determine how many bullets are there, or water bottle)
  7.  
  8. proto native float GetQuantity(); // random quantity (0.0 - 1.0)
  9.  
  10. proto native float GetLifetime(); // lifetime in (seconds) - what is the idle before item abandoned at ground gets deleted
  11. proto native float GetRestock(); // restock is oposite of lifetime - idle before item is allowed to respawn when required
  12.  
  13. proto native int GetCost(); // cost of item determines its 'value' for players (this serve as priority during respawn and cleanup operation)
  14.  
  15. proto native int GetUsageFlags(); // area usage flags (each bit has assigned group - which as part of map overlay effectively affects spawning)
  16. proto native int GetValueFlags(); // area value flags (each bit has assigned group - which as part of map overlay effectively affects spawning)
  17. Hopefully, this is helpful to some of you guys too.
  18. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement