Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Oxide.Core.Plugins;
- namespace Oxide.Plugins
- {
- [Info("PushTest", "Wulf/lukespragg", 0.1)]
- [Description("Push API test plugin")]
- class PushTest : CovalencePlugin
- {
- [PluginReference] Plugin PushAPI;
- void Init()
- {
- if (!PushAPI)
- {
- Puts("Push API is not loaded! http://oxidemod.org/plugins/705/");
- return;
- }
- PushAPI.Call("PushMessage", "This is a test push", "This is a test of the Push API!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment