Repository navigation
Game API
MasterGeneral156 edited this page Nov 10, 2016
·
6 revisions
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.
Current Chivalry Engine Versions:
V1 - 1.0.3b released March 21, 2025
V2 - 2.0.2 released Jun 13, 2020
V3- 3.0.0-alpha1 released Sept 29, 2019