Purpose is to have the forward be called only on actual buying. This has been requested on the forum.
		
			
				
	
	
		
			23 lines
		
	
	
		
			497 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			497 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
 | |
| import os.path
 | |
| 
 | |
| binary = AMXX.MetaModule(builder, 'cstrike')
 | |
| 
 | |
| binary.compiler.defines += [
 | |
|   'HAVE_STDINT_H',
 | |
| ]
 | |
| 
 | |
| binary.sources = [
 | |
|   'sdk/amxxmodule.cpp',
 | |
|   'amxx_api.cpp',
 | |
|   'CstrikePlayer.cpp',
 | |
|   'CstrikeNatives.cpp',
 | |
|   'CstrikeHacks.cpp',
 | |
|   'CstrikeUtils.cpp',
 | |
|   '../../../public/memtools/MemoryUtils.cpp',
 | |
|   '../../../public/memtools/CDetour/detours.cpp',
 | |
|   '../../../public/memtools/CDetour/asm/asm.c',
 | |
| ]
 | |
| 
 | |
| AMXX.modules += [builder.Add(binary)]
 |