Guest User

Untitled

a guest
Sep 1st, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. using Oxide.Core.Plugins;
  2.  
  3. namespace Oxide.Plugins
  4. {
  5. [Info("PushTest", "Wulf/lukespragg", 0.1)]
  6. [Description("Push API test plugin")]
  7.  
  8. class PushTest : CovalencePlugin
  9. {
  10. [PluginReference] Plugin PushAPI;
  11.  
  12. void Init()
  13. {
  14. if (!PushAPI)
  15. {
  16. Puts("Push API is not loaded! http://oxidemod.org/plugins/705/");
  17. return;
  18. }
  19.  
  20. PushAPI.Call("PushMessage", "This is a test push", "This is a test of the Push API!");
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment