Ok I?ve connected everything with ibProArcade and it work great. But I have a question. Can I let the guests play at the arcade? Because when they play it says ?you don?t have enough
money?
Any ways to give guests some money or buypass the plugin?
The plugin looks like this.
PHP Code:
$amount = '1';
if (($vbulletin->userinfo[$vbulletin->options['icashf']] - $amount) < 0) {
eval(standard_error(fetch_error('error_cash_arcade')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['icashf']}={$vbulletin->options['icashf']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
Can you suggest me a conditional too ignore the plugin if ?guest? ?
Thanks