View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-15-2010 , 10:46   Re: Module: Orpheu2.3a
Reply With Quote #550

After reviewing the code, try do the following :
  • Hook CHalfLifeMultiplay::RestartRound() as pre and post ;
  • In the function RestartRound() as pre, Hook and register CBasePlayer::AddAccount() as pre ;
  • In the function AddAccount(), supercede ;
  • In the function RestartRound() as post, unregister the AddAccount() forward.

If you don't know at all how to do, tell me.


EDIT : ok, long time I've not done an Orpheu plugin, so enjoy.

Fastly tested and it seems to work.
Don't forget to upload the signatures in /amxmodx/
Attached Files
File Type: zip [signatures]block_roundstart_money.zip (2.7 KB, 157 views)
File Type: sma Get Plugin or Get Source (block_roundstart_money.sma - 522 views - 1.4 KB)
__________________

Last edited by Arkshine; 08-15-2010 at 11:23.
Arkshine is offline