i am actually making something like this... it would sync between team website and LFS chat VIA Prism...
but i would also make it so it syncs like an actual email type system VIA Prism & Team forums PM system... so it would appear as a Email type thing inside LFS... the forums would still look like forums PM ... unless i went and made a separate page which uses the same exact idea as the one included in PHPBB (only one that i plan to make it for) itself and just made it look more like Email... either way... will be intresting :P
i made a plugin, which checks for speed hackers, then i remembered that every car has its own top speed, i will most likly make an array of top speeds for every car :P
<?php php class Cheat extends Plugins { const URL = 'http://lfsforum.net/forumdisplay.php?f=312'; const NAME = 'Cheat Protection'; const AUTHOR = 'T3charmy'; const VERSION = '0.1.0'; const DESCRIPTION = 'Does the dirty work for you!';
public function __construct() { $this->registerPacket('onMCI', ISP_MCI); } public function onMCI($Packet) { foreach ($Packet->Info as $PacketInfo) { $PacketData = Plugins::getClientByPLID($PacketInfo->PLID); $MPH = number_format($CompCar->Speed / 146.486067, 1); if(isset($PacketData)){ if($MPH > 200){ $MST = new IS_MST; $MST->Msg("/ban {$PacketData->UName} 999")->Send(); $MST->Msg("/msg ^1{$PacketData->UName} banned for Speed Hacking!")->Send(); } } } } }
well FIre_optikz is really my brothers account .... the only reason i used his was my dad decided to be cheap and instead of buying me my own S2 he upgraded my brothers account(which had S1)