problem with a simple notification
Posted: 11 March 2014, 00:42
Hello,
I have a concern. I can not send a simple notification. I call the "stRestocking" function in a game state.
I have no error message but nothing appears in the chat box.
Help, I turn around and I can not find the solution or the problem. Should we then do something?
Thank you in advance.
I have a concern. I can not send a simple notification. I call the "stRestocking" function in a game state.
Code: Select all
2 => array (
"name" => "restocking"
"description" => clienttranslate ('Currently restocking),
"type" => "game"
"action" => "stRestocking"
"updateGameProgression" => false,
"transitions" => array ("active player action '=> 3) Code: Select all
stRestocking function ()
{
self :: notifyAllPlayers
(
"message",
clienttranslate ('Thanks for playing!')
array ()
);
$ this-> gamestate-> NEXTSTATE (active player Action ');
}
Help, I turn around and I can not find the solution or the problem. Should we then do something?
Thank you in advance.