AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   Module: Max Money (https://forums.alliedmods.net/showthread.php?t=97635)

jim_yang 07-17-2009 21:58

Module: Max Money
 
1 Attachment(s)
amxx plugin version generally hook some event and waste a lot of code dealing with all the money event.
This module directly change game dll's default max money to 999999(for hud properly displayed).
put dll to amxx modules folder
write "maxmoney" to amxx modules.ini config file

joaquimandrade 07-17-2009 22:39

Re: Module: Max Money
 
:twisted:

Edit:

Are you planning to make it for linux? I would use it in my server.

stupok 07-17-2009 23:18

Re: Module: Max Money
 
:mrgreen:

Awesome. :up:

I will probably use this.

ConnorMcLeod 07-18-2009 10:08

Re: Module: Max Money
 
Wasn't this avaible with memhack module, as weapons cost, roundtime min/max limit, c4timer min/max, etc... ?

joaquimandrade 07-18-2009 11:27

Re: Module: Max Money
 
Quote:

Originally Posted by ConnorMcLeod (Post 875505)
Wasn't this avaible with memhack module, as weapons cost, roundtime min/max limit, c4timer min/max, etc... ?

Yes but you would have to search by the offsets. This automatically searches for you.

hleV 07-21-2009 09:28

Re: Module: Max Money
 
Nice.

AntiBots 07-21-2009 19:52

Re: Module: Max Money
 
Thanks Jim, Very Nice!!!

anssik 07-23-2009 00:14

Re: Module: Max Money
 
1 Attachment(s)
Very nice, I'm definately using this!
Here is a simple givemoney plugin made to be used with this module.

Exolent[jNr] 07-23-2009 12:47

Re: Module: Max Money
 
I think there should be an include with a MAX_MONEY constant so the max isn't hard-coded into the plugins, and it would automatically load the module if it is used in plugins (does that work for non-standard modules?).

jim_yang 07-24-2009 03:31

Re: Module: Max Money
 
Code:

#if defined _maxmoney_included
  #endinput
#endif
#define _maxmoney_included
#if AMXX_VERSION_NUM >= 175
 #pragma reqlib maxmoney
 #if !defined AMXMODX_NOAUTOLOAD
  #pragma loadlib maxmoney
 #endif
#else
 #pragma library maxmoney
#endif
#define MAX_MONEY 999999

you can make an inc file to make it auto load the lib. but I think it's unnecessary since there is no native in this module. :)


All times are GMT -4. The time now is 17:51.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.