CrazyHackGUT
03-10-2020, 07:30
This extension exposes getenv() C function to SourcePawn API. Currently is named as GetEnvironmentVariable().
Requires SourceMod 1.10 or higher.
Installation
Open page with latest releases.
Find your platform in assets list and download archive.
Unzip archive to your server directory.
Restart.
Helpful links
Source code (https://github.com/CrazyHackGUT/sm-env/tree/master/src)
Include file (https://github.com/CrazyHackGUT/sm-env/blob/master/package/scripting/include/env_variables.inc)
Usage example (https://github.com/CrazyHackGUT/sm-env/blob/master/package/scripting/env_test.sp)
https://github.com/CrazyHackGUT/sm-env/workflows/CI/badge.svg (https://github.com/CrazyHackGUT/sm-env/actions?query=workflow%3ACI) https://img.shields.io/github/v/release/CrazyHackGUT/sm-env?include_prereleases (https://github.com/CrazyHackGUT/sm-env/releases/latest)
Requires SourceMod 1.10 or higher.
Installation
Open page with latest releases.
Find your platform in assets list and download archive.
Unzip archive to your server directory.
Restart.
Helpful links
Source code (https://github.com/CrazyHackGUT/sm-env/tree/master/src)
Include file (https://github.com/CrazyHackGUT/sm-env/blob/master/package/scripting/include/env_variables.inc)
Usage example (https://github.com/CrazyHackGUT/sm-env/blob/master/package/scripting/env_test.sp)
https://github.com/CrazyHackGUT/sm-env/workflows/CI/badge.svg (https://github.com/CrazyHackGUT/sm-env/actions?query=workflow%3ACI) https://img.shields.io/github/v/release/CrazyHackGUT/sm-env?include_prereleases (https://github.com/CrazyHackGUT/sm-env/releases/latest)