Skip to content

Game API

MasterGeneral156 edited this page Nov 10, 2016 · 6 revisions

The Game API

The Game API is useful when you need to do game actions, such as sending mail, events or announcements. ##Available Functions
GameAddNotification();
GameAddMail();
GameAddAnnouncement();
##GameAddNotification();
GameAddNotification(); is a function used to send a notification to a player. This function takes two variables.
$api->GameAddNotification($var1,$var2);
Variable #1 - Integer. Specifies the user testing on.
Variable #2 - Text. Message sent along with the notification.

This function always returns true.

Clone this wiki locally