Code: Select all
$aseco->addCall('SendDisplayServerMessageToLogin',array($login, $message, 'Close', 'Delete', 0));
Code: Select all
$aseco->addCall('SendDisplayServerMessageToLogin',array($login, $message, 'Close', 'Delete', 0));
Code: Select all
* Displays a Vote panel
*
* $player : player to send panel to
* $yesstr : string for the Yes button
* $nostr : string for the No button
* $timeout: timeout for temporary panel (used only by /votepanel list)
*/
function display_votepanel($aseco, $player, $yesstr, $nostr, $timeout) {
// build manialink
$xml = str_replace(array('%YES%', '%NO%'),
array($yesstr, $nostr), $player->panels['vote']);
//$aseco->console_text($xml);
// disable panel once clicked
$aseco->client->addCall('SendDisplayManialinkPageToLogin', array($player
} // display_votepanel