Scavenge and Survive
This organisation holds a collection of Pawn packages used by the Scavenge and Survive game. All packages can be run or installed as dependencies in projects.
Pinned Repositories
button
Simple buttons for players to interact with, more minimal than a pickup and more elegant than a command.
door
A simple object movement manager that supports buttons as the default method of interacting.
inventory
A simple inventory script for storing items in per-player containers.
item
A feature-rich item library with an massively extensive API.
language
Provides a simple API for multi-language systems.
mathutil
A collection of useful mathematical functions. Documentation in source code.
mentions
Provides a way for players to mention each other by ID and insert colour codes into chat.
personal-space
A simple library providing an API for player-to-player interactions such as checking which players are stood near each other and detecting who approached who.
state-buffer
Captures a running buffer of player states for use in anti-cheat or statistical libraries.
weapons
An advanced, feature-rich, weapon framework for San Andreas Multiplayer.
Scavenge and Survive's Repositories
ScavengeSurvive/inventory
A simple inventory script for storing items in per-player containers.
ScavengeSurvive/button
Simple buttons for players to interact with, more minimal than a pickup and more elegant than a command.
ScavengeSurvive/item
A feature-rich item library with an massively extensive API.
ScavengeSurvive/mathutil
A collection of useful mathematical functions. Documentation in source code.
ScavengeSurvive/mentions
Provides a way for players to mention each other by ID and insert colour codes into chat.
ScavengeSurvive/personal-space
A simple library providing an API for player-to-player interactions such as checking which players are stood near each other and detecting who approached who.
ScavengeSurvive/door
A simple object movement manager that supports buttons as the default method of interacting.
ScavengeSurvive/container
This package facilitates the creation of "virtual inventories" to be created in order to store items in.
ScavengeSurvive/hold-action
A simple progress bar wrapper that facilitates simple "hold actions". Actions that a player must hold a key to complete.
ScavengeSurvive/language
Provides a simple API for multi-language systems.
ScavengeSurvive/state-buffer
Captures a running buffer of player states for use in anti-cheat or statistical libraries.
ScavengeSurvive/weapons
An advanced, feature-rich, weapon framework for San Andreas Multiplayer.
ScavengeSurvive/action-text
A simple UI library providing a centered text element for messages to prompt the player to perform an action, hence "action" text.
ScavengeSurvive/energy
Provides players with an energy bar to represent energy from food and hunger. The energy level drops over time at a rate determined by animation.
ScavengeSurvive/health
This package provides the advanced health and knockout feature from Scavenge and Survive.
ScavengeSurvive/inventory-dialog
An extension for ScavengeSurvive/inventory that uses SA:MP dialog menus for player interaction with their inventory items.
ScavengeSurvive/settings
A simple ini-based settings library for loading server settings with defaults. Supports arrays of ints, floats and strings!
ScavengeSurvive/container-dialog
An extension script for SIF/Container that adds SA:MP dialogs for player interaction with containers. Also allows containers and inventories to work together.
ScavengeSurvive/craft
A small module to add a combination functionality to inventories enabling players to combine multiple items into one new item.
ScavengeSurvive/geid
GEID = Global entity ID. Used for generating unique identifier strings for players or entities so their state may be identified and stored elsewhere.
ScavengeSurvive/item-array-data
Extends items to have an array of data instead of just one cell. Includes functions for setting, appending and getting array data.
ScavengeSurvive/item-dictionary
ScavengeSurvive/itemtype-bag
Provides an item type definition for wearable containers so players can carry multiple items with them.
ScavengeSurvive/itemtype-clothes
Clothes item type - allows changing skin via an item.
ScavengeSurvive/tick-difference
`GetTickCountDifference` returns the difference between two values from `GetTickCount` and takes into account overflow.
ScavengeSurvive/timeutil
A collection of assorted utilities for working with timestamps and time values. Uses CTime and sscanf.
ScavengeSurvive/velocity
Simply provides a function to get the player's velocity (or their vehicle) in kilometres per hour.
ScavengeSurvive/test-boilerplate
Gameplay testing boilerplate code for quick spawning and testing of in-game features.
ScavengeSurvive/test-boilerplate-items
Item testing boilerplate code for quick testing of item related features such as inventories and interfaces.
ScavengeSurvive/test-boilerplate-npcs
A quick testing/development library that provides 6 NPCs to test gameplay mechanics such as items, weapons and interactions with.