Ok, here's the code I use in my arcade to give credits anytime someone gets a new high score...I have this set that the first score they submit they get nothing, but every new score that is a high score after that they do...I am also using the Powered by modified version E1.5 of the arcade...but here's the code that you need to look for (in that version at least)
//player has new high score and gets to comment - winner :)
{
if($context['arcade']['submit']['looser'] == '1')
{
And then add after it this bit of code:
db_query("
UPDATE {$db_prefix}members
SET money = (money + 250)
WHERE ID_MEMBER = $ID_MEMBER", __FILE__, __LINE__);
If you want to let them know they have won the money change the text string underneath that to this:
echo '',$txt['arcade_1258'],' ',$txt['arcade_1262'],' ',$context['arcade']['submit']['score'],'<br />',$txt['arcade_1264'],'<br /><strong>You have received 500',$modSettings['shopCurrencySuffix'],'!</strong><br />', implode($txt['arcade_or'],$choice), '<br />';
Not that I have it set to 500 credits...the reason that the query does 250 is because they get the first 250 when they get to the screen, and then they get another 250 when they submit their comment...
Hope this helps everyone...