as misbehaving players can be kicked or banned - it might not always be positive to the actual gameplay, and does not shed the brightest light on the admin (in some occasions at least)
so i started writing a little function which would fine that company a certain percentage of the current p->money64 value
the only problem i am having now is getting this information out to already connected clients. it is no problem if the clients disconnect and reconnect - they then automatically get the new information. but i need the information to propagate while clients are connected.
btw. the fine is charged to EXPENSES_OTHER
it is not finished so i have not spent time on wording the output messages - personally i would prefer though if a message was broadcasted to all clients e.g. "company <company_name> fined with <cost> for <reason>"
<reason has not been added yet. currently the command 'fine' takes 2 params, <company_id> and <fine_percent>
<cost> is the actual value that will be deducted from the companies money.
there will also be a checking to only allow a certain maximum percentage.
if somebody could tell me how i can get this data propagated to all currently connected clients - that would be great.
ps: money goes nowwhere - just to make it clear - the idea behind this is not to give money to somebody else. just to loose it



pps: the patch is against svn://svn.openttd.org/tags/0.5.0RC5