Skip to content

SA-MP plugin that provides fallback implementation to unregistered natives

License

Notifications You must be signed in to change notification settings

IS4Code/NativeFallback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Native Fallback v1.1

This plugin provides a fallback implementation for all native functions that are imported by any script, allowing it to be executed without missing functions.

The fallback implementation raises AMX_ERR_NOTFOUND and prints its name, when the function is called. You can use PawnPlus to modify a particular fallback function. By default, only 256 unique fallback functions are provided (modify fallback_pool_size and recompile to increase); if more fallbacks need to be provided, a generic one is used (which doesn't print the function name).

Installation

Download the latest release for your platform to the "plugins" directory and add "NativeFallback" (or "NativeFallback.so" on Linux) to the plugins line in server.cfg.

Include NativeFallback.inc in your Pawn program to use native functions provided in this plugin, like NativeExists and MapNative.

Building

Use Visual Studio to build the project on Windows, or make on Linux.

About

SA-MP plugin that provides fallback implementation to unregistered natives

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages