HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. #include <amxmodx>
  2. #include <reapi>
  3.  
  4.  
  5. public plugin_init() {
  6. register_plugin("Money Save", "0.1", "F@nt0M");
  7. RegisterHookChain(RG_CBasePlayer_AddAccount, "CBasePlayer_AddAccount", 0);
  8. }
  9.  
  10. public CBasePlayer_AddAccount(const id, amount, RewardType:type) {
  11. #pragma unused id
  12. #pragma unused amount
  13.  
  14. return type == RT_PLAYER_SPEC_JOIN ? HC_SUPERCEDE : HC_CONTINUE;
  15. }
  16.