Created
December 21, 2017 12:16
-
-
Save Whitetigerswt/acdce0b860c5f3857f70b48f6177247e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <a_samp> | |
#if !defined GetGravity | |
native Float:GetGravity(); | |
#endif | |
native plugin_gateway_param0(func[]) = GetGravity; | |
#define IsPluginLoaded() ((_:GetGravity()) != plugin_gateway_param0("IsPluginLoaded")) | |
public OnFilterScriptInit() | |
{ | |
printf("Plugin loaded: %d", IsPluginLoaded()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment