Compare commits
61 Commits
amxmodx-0.
...
amxmodx-1.
Author | SHA1 | Date | |
---|---|---|---|
00a29a9f06 | |||
08fea0eea1 | |||
add716276b | |||
e688addd98 | |||
199131b2b8 | |||
fb29cbff16 | |||
11fa330f10 | |||
ca720c8c83 | |||
456d7b69a2 | |||
a86cb11fd7 | |||
96c65dcfc4 | |||
86451da9a9 | |||
57607f1a28 | |||
eb4fdf53fa | |||
6251521102 | |||
c940a0b621 | |||
719af5c72c | |||
128d19c69e | |||
46861ff5b4 | |||
ee464539de | |||
f69ff642df | |||
db77c245e6 | |||
d5caf3e2ac | |||
148b365e43 | |||
8c215e5d6f | |||
0513dae63e | |||
f73a8356f6 | |||
77c5198009 | |||
820fedca22 | |||
28a1182cd2 | |||
16444a713a | |||
6457fc45c7 | |||
cb94cccf22 | |||
c0ee97b437 | |||
f950d384b6 | |||
426a71e7f2 | |||
d49b2453bb | |||
74a1db4417 | |||
dc7e1e2494 | |||
5dfbcf2a23 | |||
09c1471c3a | |||
50a882cf4c | |||
850557df5a | |||
4c43eccbb5 | |||
380db7c884 | |||
1994917044 | |||
449f31d78c | |||
bc2386fe47 | |||
ec02883f6e | |||
abd372447a | |||
fef70c0386 | |||
719b32d71f | |||
4e385fec50 | |||
c9b2f2f060 | |||
d038e926fd | |||
712859eb20 | |||
826893d8d2 | |||
47d1881c29 | |||
741666b742 | |||
ee8e30417c | |||
cc4bbadfa2 |
@ -244,7 +244,11 @@ cell CSPForward::execute(cell *params, ForwardPreparedArray *preparedArrays)
|
|||||||
|
|
||||||
// exec
|
// exec
|
||||||
cell retVal;
|
cell retVal;
|
||||||
amx_Execv(m_Amx, &retVal, m_Func, m_NumParams, realParams);
|
int err = amx_Execv(m_Amx, &retVal, m_Func, m_NumParams, realParams);
|
||||||
|
|
||||||
|
// log runtime error, if any
|
||||||
|
if (err != AMX_ERR_NONE)
|
||||||
|
LogError(m_Amx, err, "");
|
||||||
|
|
||||||
// cleanup strings & arrays
|
// cleanup strings & arrays
|
||||||
for (i = 0; i < m_NumParams; ++i)
|
for (i = 0; i < m_NumParams; ++i)
|
||||||
|
@ -584,9 +584,17 @@ char * CLangMngr::FormatAmxString(AMX *amx, cell *params, int parm, int &len)
|
|||||||
if (*def == '%')
|
if (*def == '%')
|
||||||
{
|
{
|
||||||
++def;
|
++def;
|
||||||
|
if (*def == '%' || *def == 0)
|
||||||
|
{
|
||||||
|
*outptr++ = '%';
|
||||||
|
++def;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
static char format[32];
|
static char format[32];
|
||||||
format[0] = '%';
|
format[0] = '%';
|
||||||
char *ptr = format+1;
|
char *ptr = format+1;
|
||||||
|
|
||||||
while (ptr-format<sizeof(format) && !isalpha(*ptr++ = *def++))
|
while (ptr-format<sizeof(format) && !isalpha(*ptr++ = *def++))
|
||||||
/*nothing*/;
|
/*nothing*/;
|
||||||
ZEROTERM(format);
|
ZEROTERM(format);
|
||||||
@ -634,6 +642,7 @@ char * CLangMngr::FormatAmxString(AMX *amx, cell *params, int parm, int &len)
|
|||||||
}
|
}
|
||||||
outptr += strlen(outptr);
|
outptr += strlen(outptr);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (*def == '^')
|
else if (*def == '^')
|
||||||
{
|
{
|
||||||
++def;
|
++def;
|
||||||
|
Binary file not shown.
@ -1114,12 +1114,18 @@ int AMXAPI amx_Init(AMX *amx,void *program)
|
|||||||
#if defined __BORLANDC__ || defined __WATCOMC__
|
#if defined __BORLANDC__ || defined __WATCOMC__
|
||||||
#pragma argsused
|
#pragma argsused
|
||||||
#endif
|
#endif
|
||||||
int memoryFullAccess( void* addr, int len ) { return 1; }
|
int memoryFullAccess( void* addr, int len )
|
||||||
|
{
|
||||||
|
return mprotect(addr, len, PROT_READ|PROT_WRITE|PROT_EXEC);
|
||||||
|
}
|
||||||
|
|
||||||
#if defined __BORLANDC__ || defined __WATCOMC__
|
#if defined __BORLANDC__ || defined __WATCOMC__
|
||||||
#pragma argsused
|
#pragma argsused
|
||||||
#endif
|
#endif
|
||||||
int memorySetAccess( void* addr, int len, int access ) { return 1; }
|
int memorySetAccess( void* addr, int len, int access )
|
||||||
|
{
|
||||||
|
return mprotect(addr, len, PROT_READ|PROT_EXEC);
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* #if defined __WIN32 __ */
|
#endif /* #if defined __WIN32 __ */
|
||||||
|
|
||||||
@ -1128,8 +1134,13 @@ int AMXAPI amx_InitJIT(AMX *amx, void *reloc_table, void *native_code)
|
|||||||
int mac, res;
|
int mac, res;
|
||||||
AMX_HEADER *hdr;
|
AMX_HEADER *hdr;
|
||||||
|
|
||||||
mac = memoryFullAccess( (void*)asm_runJIT, 20000 );
|
#ifdef __linux__
|
||||||
if ( ! mac )
|
mac = memoryFullAccess( (void *)((int)((void*)asm_runJIT)-(int)((void*)asm_runJIT)%sysconf(_SC_PAGESIZE)), 20000 );
|
||||||
|
if ( mac )
|
||||||
|
#else
|
||||||
|
mac = memoryFullAccess((void *)asm_runJIT, 20000);
|
||||||
|
if ( !mac )
|
||||||
|
#endif
|
||||||
return AMX_ERR_INIT_JIT;
|
return AMX_ERR_INIT_JIT;
|
||||||
|
|
||||||
/* copy the prefix */
|
/* copy the prefix */
|
||||||
@ -3408,7 +3419,6 @@ int AMXAPI amx_Exec(AMX *amx, cell *retval, int index, int numparams, ...)
|
|||||||
if (alt==0)
|
if (alt==0)
|
||||||
ABORT(amx,AMX_ERR_DIVIDE);
|
ABORT(amx,AMX_ERR_DIVIDE);
|
||||||
/* divide must always round down; this is a bit
|
/* divide must always round down; this is a bit
|
||||||
* involved to do in a machine-independent way.
|
|
||||||
*/
|
*/
|
||||||
offs=(pri % alt + alt) % alt; /* true modulus */
|
offs=(pri % alt + alt) % alt; /* true modulus */
|
||||||
pri=(pri - offs) / alt; /* division result */
|
pri=(pri - offs) / alt; /* division result */
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
; /usr/local/cross-tools/bin/i386-mingw32msvc-dlltool --base-file /tmp/cc4kB6s0.base --output-exp amx_mm.exp --dllname amx_mm.dll --output-def amx_mm.def --add-stdcall-alias --exclude-symbol=DllMainCRTStartup@12 --def /tmp/ccyI7I7K.def
|
|
||||||
EXPORTS
|
|
||||||
GetEngineFunctions @ 1 ;
|
|
||||||
GetEngineFunctions_Post @ 2 ;
|
|
||||||
GetEntityAPI2 @ 3 ;
|
|
||||||
GetEntityAPI2_Post @ 4 ;
|
|
||||||
GiveFnptrsToDll = GiveFnptrsToDll@8 @ 5 ;
|
|
||||||
GiveFnptrsToDll@8 @ 6 ;
|
|
||||||
Meta_Attach @ 7 ;
|
|
||||||
Meta_Detach @ 8 ;
|
|
||||||
Meta_Query @ 9 ;
|
|
@ -1205,6 +1205,14 @@ static cell AMX_NATIVE_CALL message_begin(AMX *amx, cell *params) /* 4 param */
|
|||||||
int numparam = *params/sizeof(cell);
|
int numparam = *params/sizeof(cell);
|
||||||
float vecOrigin[3];
|
float vecOrigin[3];
|
||||||
cell *cpOrigin;
|
cell *cpOrigin;
|
||||||
|
|
||||||
|
if (params[2] < 1 || ((params[2] > 63) // maximal number of engine messages
|
||||||
|
&& !GET_USER_MSG_NAME(PLID, params[2], NULL)))
|
||||||
|
{
|
||||||
|
AMXXLOG_Log("[AMXX] Plugin called message_begin with an invalid message id (%d).", params[2]);
|
||||||
|
amx_RaiseError(amx, AMX_ERR_NATIVE);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
switch (params[1]){
|
switch (params[1]){
|
||||||
case MSG_BROADCAST:
|
case MSG_BROADCAST:
|
||||||
case MSG_ALL:
|
case MSG_ALL:
|
||||||
@ -1445,10 +1453,10 @@ static cell AMX_NATIVE_CALL read_data(AMX *amx, cell *params) /* 3 param */
|
|||||||
case 3:
|
case 3:
|
||||||
return set_amxstring(amx,params[2], g_events.getArgString( params[1] ),*get_amxaddr(amx,params[3]));
|
return set_amxstring(amx,params[2], g_events.getArgString( params[1] ),*get_amxaddr(amx,params[3]));
|
||||||
default:
|
default:
|
||||||
cell *fCell = get_amxaddr(amx,params[2]);
|
cell *fCell = get_amxaddr(amx, params[2]);
|
||||||
REAL pFloat = amx_ctof(fCell);
|
float fparam = g_events.getArgFloat(params[1]);
|
||||||
pFloat = g_events.getArgFloat( params[1] );
|
fCell[0] = amx_ftoc(fparam);
|
||||||
return (int)(pFloat);
|
return (int)fparam;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2433,6 +2441,49 @@ static cell AMX_NATIVE_CALL callfunc_begin(AMX *amx, cell *params)
|
|||||||
return 1; // success: 1
|
return 1; // success: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// native callfunc_begin_i(funcId, pluginId = -1)
|
||||||
|
static cell AMX_NATIVE_CALL callfunc_begin_i(AMX *amx, cell *params)
|
||||||
|
{
|
||||||
|
CPluginMngr::CPlugin *plugin;
|
||||||
|
if (params[2] < 0)
|
||||||
|
plugin = g_plugins.findPluginFast(amx);
|
||||||
|
else
|
||||||
|
plugin = g_plugins.findPlugin(params[2]);
|
||||||
|
|
||||||
|
if (!plugin)
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
if (!plugin->isExecutable(params[1]))
|
||||||
|
return -2;
|
||||||
|
|
||||||
|
g_CallFunc_Plugin = plugin;
|
||||||
|
g_CallFunc_Func = params[1];
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// native get_func_id(funcName[], pluginId = -1)
|
||||||
|
static cell AMX_NATIVE_CALL get_func_id(AMX *amx, cell *params)
|
||||||
|
{
|
||||||
|
CPluginMngr::CPlugin *plugin;
|
||||||
|
if (params[2] < 0)
|
||||||
|
plugin = g_plugins.findPluginFast(amx);
|
||||||
|
else
|
||||||
|
plugin = g_plugins.findPlugin(params[2]);
|
||||||
|
|
||||||
|
if (!plugin)
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
int len;
|
||||||
|
const char *funcName = get_amxstring(amx, params[1], 0, len);
|
||||||
|
|
||||||
|
int index;
|
||||||
|
if (amx_FindPublic(amx, funcName, &index) != AMX_ERR_NONE)
|
||||||
|
index = -1;
|
||||||
|
|
||||||
|
return index;
|
||||||
|
}
|
||||||
|
|
||||||
// native callfunc_end();
|
// native callfunc_end();
|
||||||
static cell AMX_NATIVE_CALL callfunc_end(AMX *amx, cell *params)
|
static cell AMX_NATIVE_CALL callfunc_end(AMX *amx, cell *params)
|
||||||
{
|
{
|
||||||
@ -2856,7 +2907,9 @@ AMX_NATIVE_INFO amxmod_Natives[] = {
|
|||||||
{ "get_modulesnum", get_modulesnum },
|
{ "get_modulesnum", get_modulesnum },
|
||||||
{ "get_module", get_module },
|
{ "get_module", get_module },
|
||||||
{ "log_amx", log_amx },
|
{ "log_amx", log_amx },
|
||||||
|
{ "get_func_id", get_func_id },
|
||||||
{ "callfunc_begin", callfunc_begin },
|
{ "callfunc_begin", callfunc_begin },
|
||||||
|
{ "callfunc_begin_i", callfunc_begin_i },
|
||||||
{ "callfunc_end", callfunc_end },
|
{ "callfunc_end", callfunc_end },
|
||||||
{ "callfunc_push_int", callfunc_push_byval },
|
{ "callfunc_push_int", callfunc_push_byval },
|
||||||
{ "callfunc_push_str", callfunc_push_str },
|
{ "callfunc_push_str", callfunc_push_str },
|
||||||
|
@ -33,6 +33,10 @@
|
|||||||
#define AMXMODX_H
|
#define AMXMODX_H
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#endif
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include <extdll.h>
|
#include <extdll.h>
|
||||||
#include <meta_api.h>
|
#include <meta_api.h>
|
||||||
@ -62,7 +66,7 @@
|
|||||||
#include "amxxlog.h"
|
#include "amxxlog.h"
|
||||||
|
|
||||||
#define AMXXLOG_Log g_log.Log
|
#define AMXXLOG_Log g_log.Log
|
||||||
#define AMX_VERSION "0.2"
|
#define AMX_VERSION "1.00"
|
||||||
|
|
||||||
extern AMX_NATIVE_INFO core_Natives[];
|
extern AMX_NATIVE_INFO core_Natives[];
|
||||||
extern AMX_NATIVE_INFO time_Natives[];
|
extern AMX_NATIVE_INFO time_Natives[];
|
||||||
|
@ -185,7 +185,7 @@ static cell AMX_NATIVE_CALL write_file(AMX *amx, cell *params) /* 3 param */
|
|||||||
|
|
||||||
// adding a new line in a middle of already existing file
|
// adding a new line in a middle of already existing file
|
||||||
FILE* pTemp;
|
FILE* pTemp;
|
||||||
char buffor[1024];
|
char buffor[2048];
|
||||||
|
|
||||||
if ( (pTemp = tmpfile()) == NULL ){
|
if ( (pTemp = tmpfile()) == NULL ){
|
||||||
amx_RaiseError(amx,AMX_ERR_NATIVE);
|
amx_RaiseError(amx,AMX_ERR_NATIVE);
|
||||||
@ -194,11 +194,11 @@ static cell AMX_NATIVE_CALL write_file(AMX *amx, cell *params) /* 3 param */
|
|||||||
|
|
||||||
for(i=0;;++i){
|
for(i=0;;++i){
|
||||||
if ( i == iLine ){
|
if ( i == iLine ){
|
||||||
fgets(buffor,1023,pFile);
|
fgets(buffor,2047,pFile);
|
||||||
fputs( sText , pTemp );
|
fputs( sText , pTemp );
|
||||||
fputc( '\n', pTemp );
|
fputc( '\n', pTemp );
|
||||||
}
|
}
|
||||||
else if ( fgets(buffor,1023,pFile) ){
|
else if ( fgets(buffor,2047,pFile) ){
|
||||||
fputs(buffor , pTemp );
|
fputs(buffor , pTemp );
|
||||||
}
|
}
|
||||||
else if ( i < iLine ) {
|
else if ( i < iLine ) {
|
||||||
@ -216,7 +216,7 @@ static cell AMX_NATIVE_CALL write_file(AMX *amx, cell *params) /* 3 param */
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
while(fgets(buffor,1023,pTemp))
|
while(fgets(buffor,2047,pTemp))
|
||||||
fputs(buffor,pFile );
|
fputs(buffor,pFile );
|
||||||
|
|
||||||
fclose(pTemp);
|
fclose(pTemp);
|
||||||
|
@ -300,7 +300,6 @@ int C_Spawn( edict_t *pent ) {
|
|||||||
(*a).getMin(),(*a).getMax(),(*a).getFilename());
|
(*a).getMin(),(*a).getMax(),(*a).getFilename());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
RETURN_META_VALUE(MRES_IGNORED, 0);
|
RETURN_META_VALUE(MRES_IGNORED, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -603,6 +602,35 @@ void C_ClientCommand( edict_t *pEntity ) {
|
|||||||
META_RES result = MRES_IGNORED;
|
META_RES result = MRES_IGNORED;
|
||||||
cell ret = 0;
|
cell ret = 0;
|
||||||
int err;
|
int err;
|
||||||
|
const char* cmd = CMD_ARGV(0);
|
||||||
|
const char* arg = CMD_ARGV(1);
|
||||||
|
|
||||||
|
// Handle "amxx" if not on listenserver
|
||||||
|
if (IS_DEDICATED_SERVER())
|
||||||
|
{
|
||||||
|
if (cmd && stricmp(cmd, "amxx")==0)
|
||||||
|
{
|
||||||
|
// Print version
|
||||||
|
static char buf[1024];
|
||||||
|
sprintf(buf, "%s %s\n", Plugin_info.name, Plugin_info.version);
|
||||||
|
CLIENT_PRINT(pEntity, print_console, buf);
|
||||||
|
sprintf(buf, "Authors: %s (%s)\n", "Felix \"SniperBeamer\" Geyer, David \"BAILOPAN\" Anderson, Pavol \"PM OnoTo\" Marko, Jonny \"Got His Gun\" Bergstrom, and Lukasz \"SidLuke\" Wlasinski.", Plugin_info.url);
|
||||||
|
CLIENT_PRINT(pEntity, print_console, buf);
|
||||||
|
sprintf(buf, "Compiled: %s\n", __DATE__ ", " __TIME__);
|
||||||
|
CLIENT_PRINT(pEntity, print_console, buf);
|
||||||
|
#ifdef JIT
|
||||||
|
sprintf(buf, "Core mode: JIT\n");
|
||||||
|
#else
|
||||||
|
#ifdef ASM32
|
||||||
|
sprintf(buf, "Core mode: ASM\n");
|
||||||
|
#else
|
||||||
|
sprintf(buf, "Core mode: Normal\n");
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
CLIENT_PRINT(pEntity, print_console, buf);
|
||||||
|
RETURN_META(MRES_SUPERCEDE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef ENABLEEXEPTIONS
|
#ifdef ENABLEEXEPTIONS
|
||||||
try
|
try
|
||||||
@ -619,10 +647,7 @@ void C_ClientCommand( edict_t *pEntity ) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* check for command and if needed also for first argument and call proper function */
|
/* check for command and if needed also for first argument and call proper function */
|
||||||
const char* cmd = CMD_ARGV(0);
|
|
||||||
const char* arg = CMD_ARGV(1);
|
|
||||||
|
|
||||||
#ifdef ENABLEEXEPTIONS
|
#ifdef ENABLEEXEPTIONS
|
||||||
try{
|
try{
|
||||||
|
@ -29,6 +29,11 @@
|
|||||||
* version.
|
* version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#include <malloc.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <sys/mman.h>
|
||||||
|
#endif
|
||||||
#include "amxmodx.h"
|
#include "amxmodx.h"
|
||||||
#include "osdep.h" // sleep, etc
|
#include "osdep.h" // sleep, etc
|
||||||
#include "CFile.h"
|
#include "CFile.h"
|
||||||
@ -174,10 +179,16 @@ int load_amxscript(AMX *amx, void **program, const char *filename, char error[64
|
|||||||
return (amx->error = AMX_ERR_INIT);
|
return (amx->error = AMX_ERR_INIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (amx_InitJIT(amx, rt, np) == AMX_ERR_NONE)
|
if ( (err = amx_InitJIT(amx, rt, np)) == AMX_ERR_NONE )
|
||||||
{
|
{
|
||||||
//amx->base = (unsigned char FAR *)realloc( np, amx->code_size );
|
//amx->base = (unsigned char FAR *)realloc( np, amx->code_size );
|
||||||
|
#ifndef __linux__
|
||||||
amx->base = new unsigned char[ amx->code_size ];
|
amx->base = new unsigned char[ amx->code_size ];
|
||||||
|
#else
|
||||||
|
//posix_memalign((void **)&(amx->base), sysconf(_SC_PAGESIZE), amx->code_size);
|
||||||
|
amx->base = (unsigned char *)memalign(sysconf(_SC_PAGESIZE), amx->code_size);
|
||||||
|
mprotect((void *)amx->base, amx->code_size, PROT_READ|PROT_WRITE|PROT_EXEC);
|
||||||
|
#endif
|
||||||
if ( amx->base )
|
if ( amx->base )
|
||||||
memcpy( amx->base , np , amx->code_size );
|
memcpy( amx->base , np , amx->code_size );
|
||||||
delete[] np;
|
delete[] np;
|
||||||
@ -193,7 +204,7 @@ int load_amxscript(AMX *amx, void **program, const char *filename, char error[64
|
|||||||
{
|
{
|
||||||
delete[] np;
|
delete[] np;
|
||||||
delete[] rt;
|
delete[] rt;
|
||||||
strcpy(error,"Failed to initialize plugin");
|
sprintf(error, "Failed to initialize plugin (%d)", err);
|
||||||
return (amx->error = AMX_ERR_INIT_JIT);
|
return (amx->error = AMX_ERR_INIT_JIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -780,6 +780,9 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath="..\modules.h">
|
RelativePath="..\modules.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\resource.h">
|
||||||
|
</File>
|
||||||
<Filter
|
<Filter
|
||||||
Name="mmgr"
|
Name="mmgr"
|
||||||
Filter="">
|
Filter="">
|
||||||
|
@ -148,8 +148,8 @@ void amx_command(){
|
|||||||
{
|
{
|
||||||
|
|
||||||
print_srvconsole( "%s %s\n", Plugin_info.name, Plugin_info.version);
|
print_srvconsole( "%s %s\n", Plugin_info.name, Plugin_info.version);
|
||||||
print_srvconsole( "author: %s (%s)\n", Plugin_info.author, Plugin_info.url);
|
print_srvconsole( "Authors: %s (%s)\n", "Felix \"SniperBeamer\" Geyer, David \"BAILOPAN\" Anderson, Pavol \"PM OnoTo\" Marko, Jonny \"Got His Gun\" Bergstrom, and Lukasz \"SidLuke\" Wlasinski.", Plugin_info.url);
|
||||||
print_srvconsole( "compiled: %s\n", __DATE__ ", " __TIME__);
|
print_srvconsole( "Compiled: %s\n", __DATE__ ", " __TIME__);
|
||||||
#ifdef JIT
|
#ifdef JIT
|
||||||
print_srvconsole( "Core mode: JIT\n");
|
print_srvconsole( "Core mode: JIT\n");
|
||||||
#else
|
#else
|
||||||
|
@ -1,8 +1,34 @@
|
|||||||
|
// Microsoft Visual C++ generated resource script.
|
||||||
|
//
|
||||||
|
#include "resource.h"
|
||||||
|
|
||||||
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
|
//
|
||||||
#include "winres.h"
|
#include "winres.h"
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// English (U.S.) resources
|
||||||
|
|
||||||
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||||
|
#ifdef _WIN32
|
||||||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
|
#pragma code_page(1252)
|
||||||
|
#endif //_WIN32
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Version
|
||||||
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 0,2,0,0
|
FILEVERSION 1,0,0,0
|
||||||
PRODUCTVERSION 0,2,0,0
|
PRODUCTVERSION 1,0,0,0
|
||||||
FILEFLAGSMASK 0x17L
|
FILEFLAGSMASK 0x17L
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
@ -17,14 +43,14 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "000004b0"
|
BLOCK "000004b0"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Comments", "AMX Mod X\0"
|
VALUE "Comments", "AMX Mod X"
|
||||||
VALUE "FileDescription", "AMX Mod X\0"
|
VALUE "FileDescription", "AMX Mod X"
|
||||||
VALUE "FileVersion", "0.20\0"
|
VALUE "FileVersion", "1.00"
|
||||||
VALUE "InternalName", "amxmodx\0"
|
VALUE "InternalName", "amxmodx"
|
||||||
VALUE "LegalCopyright", "Copyright (c) 2004, AMX Mod X Dev Team\0"
|
VALUE "LegalCopyright", "Copyright (c) 2004, AMX Mod X Dev Team"
|
||||||
VALUE "OriginalFilename", "amxx_mm.dll\0"
|
VALUE "OriginalFilename", "amxmodx_mm.dll"
|
||||||
VALUE "ProductName", "AMX Mod X\0"
|
VALUE "ProductName", "AMX Mod X"
|
||||||
VALUE "ProductVersion", "0.20\0"
|
VALUE "ProductVersion", "1.00"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
@ -32,3 +58,45 @@ BEGIN
|
|||||||
VALUE "Translation", 0x0, 1200
|
VALUE "Translation", 0x0, 1200
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef APSTUDIO_INVOKED
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// TEXTINCLUDE
|
||||||
|
//
|
||||||
|
|
||||||
|
1 TEXTINCLUDE
|
||||||
|
BEGIN
|
||||||
|
"resource.h\0"
|
||||||
|
END
|
||||||
|
|
||||||
|
2 TEXTINCLUDE
|
||||||
|
BEGIN
|
||||||
|
"#include ""winres.h""\r\n"
|
||||||
|
"\0"
|
||||||
|
END
|
||||||
|
|
||||||
|
3 TEXTINCLUDE
|
||||||
|
BEGIN
|
||||||
|
"\r\n"
|
||||||
|
"\0"
|
||||||
|
END
|
||||||
|
|
||||||
|
#endif // APSTUDIO_INVOKED
|
||||||
|
|
||||||
|
#endif // English (U.S.) resources
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef APSTUDIO_INVOKED
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Generated from the TEXTINCLUDE 3 resource.
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
#endif // not APSTUDIO_INVOKED
|
||||||
|
|
||||||
|
@ -7,18 +7,21 @@
|
|||||||
; ------------------------------
|
; ------------------------------
|
||||||
fun_amxx_i386.so
|
fun_amxx_i386.so
|
||||||
fun_amxx.dll
|
fun_amxx.dll
|
||||||
|
fun_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
; Engine - provides engine functions core to Half-Life
|
; Engine - provides engine functions core to Half-Life
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
;engine_amxx_i386.so
|
;engine_amxx_i386.so
|
||||||
;engine_amxx.dll
|
;engine_amxx.dll
|
||||||
|
;engine_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
; Fakemeta - provides a massive interface into the HL engine
|
; Fakemeta - provides a massive interface into the HL engine
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
;fakemeta_amxx_i386.so
|
;fakemeta_amxx_i386.so
|
||||||
;fakemeta_amxx.dll
|
;fakemeta_amxx.dll
|
||||||
|
;fakemeta_amxx_amd64.so
|
||||||
|
|
||||||
; -------------------------------------------
|
; -------------------------------------------
|
||||||
; Database Access - only enable one of these
|
; Database Access - only enable one of these
|
||||||
@ -26,6 +29,7 @@ fun_amxx.dll
|
|||||||
; MySQL
|
; MySQL
|
||||||
;mysql_amxx_i386.so
|
;mysql_amxx_i386.so
|
||||||
;mysql_amxx.dll
|
;mysql_amxx.dll
|
||||||
|
;mysql_amxx_amd64.so
|
||||||
; PostgreSQL
|
; PostgreSQL
|
||||||
;pgsql_amxx_i386.so
|
;pgsql_amxx_i386.so
|
||||||
;pgsql_amxx.dll
|
;pgsql_amxx.dll
|
||||||
@ -37,33 +41,39 @@ fun_amxx.dll
|
|||||||
; ---------------------------------------------
|
; ---------------------------------------------
|
||||||
;geoip_amxx_i386.so
|
;geoip_amxx_i386.so
|
||||||
;geoip_amxx.dll
|
;geoip_amxx.dll
|
||||||
|
;geoip_amxx_amd64.so
|
||||||
|
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
; Array - advanced arrays in scripting
|
; Array - advanced arrays in scripting
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
;array_amxx_i386.so
|
;array_amxx_i386.so
|
||||||
;array_amxx.dll
|
;array_amxx.dll
|
||||||
|
;array_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
; Sockets - network socket support
|
; Sockets - network socket support
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
;sockets_amxx_i386.so
|
;sockets_amxx_i386.so
|
||||||
;sockets_amxx.dll
|
;sockets_amxx.dll
|
||||||
|
;sockets_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------
|
; --------------------------
|
||||||
; Regular Expression support
|
; Regular Expression support
|
||||||
; --------------------------
|
; --------------------------
|
||||||
;regex_amxx_i386.so
|
;regex_amxx_i386.so
|
||||||
;regex_amxx.dll
|
;regex_amxx.dll
|
||||||
|
;regex_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
; Counter-Strike - adds functions specific to Counter-Strike
|
; Counter-Strike - adds functions specific to Counter-Strike
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
;cstrike_amxx_i386.so
|
cstrike_amxx_i386.so
|
||||||
;cstrike_amxx.dll
|
cstrike_amxx.dll
|
||||||
|
cstrike_amxx_amd64.so
|
||||||
|
|
||||||
; -----------------------------------------------------
|
; -----------------------------------------------------
|
||||||
; CSX - adds functionality for CS statistics and events
|
; CSX - adds functionality for CS statistics and events
|
||||||
; -----------------------------------------------------
|
; -----------------------------------------------------
|
||||||
;csx_amxx_i386.so
|
csx_amxx_i386.so
|
||||||
;csx_amxx.dll
|
csx_amxx.dll
|
||||||
|
csx_amxx_amd64.so
|
||||||
|
@ -7,18 +7,21 @@
|
|||||||
; ------------------------------
|
; ------------------------------
|
||||||
fun_amxx_i386.so
|
fun_amxx_i386.so
|
||||||
fun_amxx.dll
|
fun_amxx.dll
|
||||||
|
fun_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
; Engine - provides engine functions core to Half-Life
|
; Engine - provides engine functions core to Half-Life
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
;engine_amxx_i386.so
|
;engine_amxx_i386.so
|
||||||
;engine_amxx.dll
|
;engine_amxx.dll
|
||||||
|
;engine_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
; Fakemeta - provides a massive interface into the HL engine
|
; Fakemeta - provides a massive interface into the HL engine
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
;fakemeta_amxx_i386.so
|
;fakemeta_amxx_i386.so
|
||||||
;fakemeta_amxx.dll
|
;fakemeta_amxx.dll
|
||||||
|
;fakemeta_amxx_amd64.so
|
||||||
|
|
||||||
; -------------------------------------------
|
; -------------------------------------------
|
||||||
; Database Access - only enable one of these
|
; Database Access - only enable one of these
|
||||||
@ -26,6 +29,7 @@ fun_amxx.dll
|
|||||||
; MySQL
|
; MySQL
|
||||||
;mysql_amxx_i386.so
|
;mysql_amxx_i386.so
|
||||||
;mysql_amxx.dll
|
;mysql_amxx.dll
|
||||||
|
;mysql_amxx_amd64.so
|
||||||
; PostgreSQL
|
; PostgreSQL
|
||||||
;pgsql_amxx_i386.so
|
;pgsql_amxx_i386.so
|
||||||
;pgsql_amxx.dll
|
;pgsql_amxx.dll
|
||||||
@ -37,33 +41,39 @@ fun_amxx.dll
|
|||||||
; ---------------------------------------------
|
; ---------------------------------------------
|
||||||
;geoip_amxx_i386.so
|
;geoip_amxx_i386.so
|
||||||
;geoip_amxx.dll
|
;geoip_amxx.dll
|
||||||
|
;geoip_amxx_amd64.so
|
||||||
|
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
; Array - advanced arrays in scripting
|
; Array - advanced arrays in scripting
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
;array_amxx_i386.so
|
;array_amxx_i386.so
|
||||||
;array_amxx.dll
|
;array_amxx.dll
|
||||||
|
;array_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
; Sockets - network socket support
|
; Sockets - network socket support
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
;sockets_amxx_i386.so
|
;sockets_amxx_i386.so
|
||||||
;sockets_amxx.dll
|
;sockets_amxx.dll
|
||||||
|
;sockets_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------
|
; --------------------------
|
||||||
; Regular Expression support
|
; Regular Expression support
|
||||||
; --------------------------
|
; --------------------------
|
||||||
;regex_amxx_i386.so
|
;regex_amxx_i386.so
|
||||||
;regex_amxx.dll
|
;regex_amxx.dll
|
||||||
|
;regex_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------------------------------
|
; --------------------------------------------------
|
||||||
; Day of Defeat Fun - adds functions specific to DoD
|
; Day of Defeat Fun - adds functions specific to DoD
|
||||||
; --------------------------------------------------
|
; --------------------------------------------------
|
||||||
;dodfun_amxx_i386.so
|
dodfun_amxx_i386.so
|
||||||
;dodfun_amxx.dll
|
dodfun_amxx.dll
|
||||||
|
dodfun_amxx_amd64.so
|
||||||
|
|
||||||
; -------------------------------------------------------
|
; -------------------------------------------------------
|
||||||
; Day of Defeat X - adds stats and addition DoD functions
|
; Day of Defeat X - adds stats and addition DoD functions
|
||||||
; -------------------------------------------------------
|
; -------------------------------------------------------
|
||||||
;dodx_amxx_i386.so
|
dodx_amxx_i386.so
|
||||||
;dodx_amxx.dll
|
dodx_amxx.dll
|
||||||
|
dodx_amxx_amd64.so
|
||||||
|
@ -7,18 +7,21 @@
|
|||||||
; ------------------------------
|
; ------------------------------
|
||||||
fun_amxx_i386.so
|
fun_amxx_i386.so
|
||||||
fun_amxx.dll
|
fun_amxx.dll
|
||||||
|
fun_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
; Engine - provides engine functions core to Half-Life
|
; Engine - provides engine functions core to Half-Life
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
;engine_amxx_i386.so
|
;engine_amxx_i386.so
|
||||||
;engine_amxx.dll
|
;engine_amxx.dll
|
||||||
|
;engine_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
; Fakemeta - provides a massive interface into the HL engine
|
; Fakemeta - provides a massive interface into the HL engine
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
;fakemeta_amxx_i386.so
|
;fakemeta_amxx_i386.so
|
||||||
;fakemeta_amxx.dll
|
;fakemeta_amxx.dll
|
||||||
|
;fakeneta_amxx_amd64.so
|
||||||
|
|
||||||
; -------------------------------------------
|
; -------------------------------------------
|
||||||
; Database Access - only enable one of these
|
; Database Access - only enable one of these
|
||||||
@ -26,6 +29,7 @@ fun_amxx.dll
|
|||||||
; MySQL
|
; MySQL
|
||||||
;mysql_amxx_i386.so
|
;mysql_amxx_i386.so
|
||||||
;mysql_amxx.dll
|
;mysql_amxx.dll
|
||||||
|
;mysql_amxx_amd64.so
|
||||||
; PostgreSQL
|
; PostgreSQL
|
||||||
;pgsql_amxx_i386.so
|
;pgsql_amxx_i386.so
|
||||||
;pgsql_amxx.dll
|
;pgsql_amxx.dll
|
||||||
@ -37,21 +41,25 @@ fun_amxx.dll
|
|||||||
; ---------------------------------------------
|
; ---------------------------------------------
|
||||||
;geoip_amxx_i386.so
|
;geoip_amxx_i386.so
|
||||||
;geoip_amxx.dll
|
;geoip_amxx.dll
|
||||||
|
;geoip_amxx_amd64.so
|
||||||
|
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
; Array - advanced arrays in scripting
|
; Array - advanced arrays in scripting
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
;array_amxx_i386.so
|
;array_amxx_i386.so
|
||||||
;array_amxx.dll
|
;array_amxx.dll
|
||||||
|
;array_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
; Sockets - network socket support
|
; Sockets - network socket support
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
;sockets_amxx_i386.so
|
;sockets_amxx_i386.so
|
||||||
;sockets_amxx.dll
|
;sockets_amxx.dll
|
||||||
|
;sockets_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------
|
; --------------------------
|
||||||
; Regular Expression support
|
; Regular Expression support
|
||||||
; --------------------------
|
; --------------------------
|
||||||
;regex_amxx_i386.so
|
;regex_amxx_i386.so
|
||||||
;regex_amxx.dll
|
;regex_amxx.dll
|
||||||
|
;regex_amxx_amd64.so
|
@ -5,20 +5,23 @@
|
|||||||
; ------------------------------
|
; ------------------------------
|
||||||
; Fun - provides extra functions
|
; Fun - provides extra functions
|
||||||
; ------------------------------
|
; ------------------------------
|
||||||
;fun_amxx_i386.so
|
fun_amxx_i386.so
|
||||||
;fun_amxx.dll
|
fun_amxx.dll
|
||||||
|
fun_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
; Engine - provides engine functions core to Half-Life
|
; Engine - provides engine functions core to Half-Life
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
;engine_amxx_i386.so
|
;engine_amxx_i386.so
|
||||||
;engine_amxx.dll
|
;engine_amxx.dll
|
||||||
|
;engine_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
; Fakemeta - provides a massive interface into the HL engine
|
; Fakemeta - provides a massive interface into the HL engine
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
;fakemeta_amxx_i386.so
|
;fakemeta_amxx_i386.so
|
||||||
;fakemeta_amxx.dll
|
;fakemeta_amxx.dll
|
||||||
|
;fakemeta_amxx_amd64.so
|
||||||
|
|
||||||
; -------------------------------------------
|
; -------------------------------------------
|
||||||
; Database Access - only enable one of these
|
; Database Access - only enable one of these
|
||||||
@ -26,6 +29,7 @@
|
|||||||
; MySQL
|
; MySQL
|
||||||
;mysql_amxx_i386.so
|
;mysql_amxx_i386.so
|
||||||
;mysql_amxx.dll
|
;mysql_amxx.dll
|
||||||
|
;mysql_amxx_amd64.so
|
||||||
; PostgreSQL
|
; PostgreSQL
|
||||||
;pgsql_amxx_i386.so
|
;pgsql_amxx_i386.so
|
||||||
;pgsql_amxx.dll
|
;pgsql_amxx.dll
|
||||||
@ -37,27 +41,31 @@
|
|||||||
; ---------------------------------------------
|
; ---------------------------------------------
|
||||||
;geoip_amxx_i386.so
|
;geoip_amxx_i386.so
|
||||||
;geoip_amxx.dll
|
;geoip_amxx.dll
|
||||||
|
;geoip_amxx_amd64.so
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
; Array - advanced arrays in scripting
|
; Array - advanced arrays in scripting
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
;array_amxx_i386.so
|
;array_amxx_i386.so
|
||||||
;array_amxx.dll
|
;array_amxx.dll
|
||||||
|
;array_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
; Sockets - network socket support
|
; Sockets - network socket support
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
;sockets_amxx_i386.so
|
;sockets_amxx_i386.so
|
||||||
;sockets_amxx.dll
|
;sockets_amxx.dll
|
||||||
|
;sockets_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------
|
; --------------------------
|
||||||
; Regular Expression support
|
; Regular Expression support
|
||||||
; --------------------------
|
; --------------------------
|
||||||
;regex_amxx_i386.so
|
;regex_amxx_i386.so
|
||||||
;regex_amxx.dll
|
;regex_amxx.dll
|
||||||
|
;regex_amxx_amd64.so
|
||||||
|
|
||||||
; -----------------
|
; -----------------
|
||||||
; Natural Selection
|
; Natural Selection
|
||||||
; -----------------
|
; -----------------
|
||||||
ns_amxx_i386.so
|
ns_amxx_i386.so
|
||||||
ns_amxx.dll
|
ns_amxx.dll
|
||||||
|
ns_amxx_amd64.so
|
||||||
|
@ -7,18 +7,21 @@
|
|||||||
; ------------------------------
|
; ------------------------------
|
||||||
fun_amxx_i386.so
|
fun_amxx_i386.so
|
||||||
fun_amxx.dll
|
fun_amxx.dll
|
||||||
|
fun_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
; Engine - provides engine functions core to Half-Life
|
; Engine - provides engine functions core to Half-Life
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
;engine_amxx_i386.so
|
;engine_amxx_i386.so
|
||||||
;engine_amxx.dll
|
;engine_amxx.dll
|
||||||
|
;engine_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
; Fakemeta - provides a massive interface into the HL engine
|
; Fakemeta - provides a massive interface into the HL engine
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
;fakemeta_amxx_i386.so
|
;fakemeta_amxx_i386.so
|
||||||
;fakemeta_amxx.dll
|
;fakemeta_amxx.dll
|
||||||
|
;fakemeta_amxx_amd64.so
|
||||||
|
|
||||||
; -------------------------------------------
|
; -------------------------------------------
|
||||||
; Database Access - only enable one of these
|
; Database Access - only enable one of these
|
||||||
@ -26,6 +29,7 @@ fun_amxx.dll
|
|||||||
; MySQL
|
; MySQL
|
||||||
;mysql_amxx_i386.so
|
;mysql_amxx_i386.so
|
||||||
;mysql_amxx.dll
|
;mysql_amxx.dll
|
||||||
|
;mysql_amxx_amd64.so
|
||||||
; PostgreSQL
|
; PostgreSQL
|
||||||
;pgsql_amxx_i386.so
|
;pgsql_amxx_i386.so
|
||||||
;pgsql_amxx.dll
|
;pgsql_amxx.dll
|
||||||
@ -37,27 +41,32 @@ fun_amxx.dll
|
|||||||
; ---------------------------------------------
|
; ---------------------------------------------
|
||||||
;geoip_amxx_i386.so
|
;geoip_amxx_i386.so
|
||||||
;geoip_amxx.dll
|
;geoip_amxx.dll
|
||||||
|
;geoip_amxx_amd64.so
|
||||||
|
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
; Array - advanced arrays in scripting
|
; Array - advanced arrays in scripting
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
;array_amxx_i386.so
|
;array_amxx_i386.so
|
||||||
;array_amxx.dll
|
;array_amxx.dll
|
||||||
|
;array_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
; Sockets - network socket support
|
; Sockets - network socket support
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
;sockets_amxx_i386.so
|
;sockets_amxx_i386.so
|
||||||
;sockets_amxx.dll
|
;sockets_amxx.dll
|
||||||
|
;sockets_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------
|
; --------------------------
|
||||||
; Regular Expression support
|
; Regular Expression support
|
||||||
; --------------------------
|
; --------------------------
|
||||||
;regex_amxx_i386.so
|
;regex_amxx_i386.so
|
||||||
;regex_amxx.dll
|
;regex_amxx.dll
|
||||||
|
;regex_amxx_amd64.so
|
||||||
|
|
||||||
; ------------------------------------------------------------------
|
; ------------------------------------------------------------------
|
||||||
; Team Fortress Classic X - adds functions and stats specific to TFC
|
; Team Fortress Classic X - adds functions and stats specific to TFC
|
||||||
; ------------------------------------------------------------------
|
; ------------------------------------------------------------------
|
||||||
;tfcx_amxx_i386.so
|
tfcx_amxx_i386.so
|
||||||
;tfcx_amxx.dll
|
tfcx_amxx.dll
|
||||||
|
tfx_amxx_amd64.so
|
@ -7,18 +7,21 @@
|
|||||||
; ------------------------------
|
; ------------------------------
|
||||||
fun_amxx_i386.so
|
fun_amxx_i386.so
|
||||||
fun_amxx.dll
|
fun_amxx.dll
|
||||||
|
fun_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
; Engine - provides engine functions core to Half-Life
|
; Engine - provides engine functions core to Half-Life
|
||||||
; ----------------------------------------------------
|
; ----------------------------------------------------
|
||||||
;engine_amxx_i386.so
|
;engine_amxx_i386.so
|
||||||
;engine_amxx.dll
|
;engine_amxx.dll
|
||||||
|
;engine_amxx_amd64.so
|
||||||
|
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
; Fakemeta - provides a massive interface into the HL engine
|
; Fakemeta - provides a massive interface into the HL engine
|
||||||
; ----------------------------------------------------------
|
; ----------------------------------------------------------
|
||||||
;fakemeta_amxx_i386.so
|
;fakemeta_amxx_i386.so
|
||||||
;fakemeta_amxx.dll
|
;fakemeta_amxx.dll
|
||||||
|
;fakemeta_amxx_amd64.so
|
||||||
|
|
||||||
; -------------------------------------------
|
; -------------------------------------------
|
||||||
; Database Access - only enable one of these
|
; Database Access - only enable one of these
|
||||||
@ -26,6 +29,7 @@ fun_amxx.dll
|
|||||||
; MySQL
|
; MySQL
|
||||||
;mysql_amxx_i386.so
|
;mysql_amxx_i386.so
|
||||||
;mysql_amxx.dll
|
;mysql_amxx.dll
|
||||||
|
;mysql_amxx_amd64.so
|
||||||
; PostgreSQL
|
; PostgreSQL
|
||||||
;pgsql_amxx_i386.so
|
;pgsql_amxx_i386.so
|
||||||
;pgsql_amxx.dll
|
;pgsql_amxx.dll
|
||||||
@ -37,27 +41,32 @@ fun_amxx.dll
|
|||||||
; ---------------------------------------------
|
; ---------------------------------------------
|
||||||
;geoip_amxx_i386.so
|
;geoip_amxx_i386.so
|
||||||
;geoip_amxx.dll
|
;geoip_amxx.dll
|
||||||
|
;geoip_amxx_amd64.so
|
||||||
|
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
; Array - advanced arrays in scripting
|
; Array - advanced arrays in scripting
|
||||||
; ------------------------------------
|
; ------------------------------------
|
||||||
;array_amxx_i386.so
|
;array_amxx_i386.so
|
||||||
;array_amxx.dll
|
;array_amxx.dll
|
||||||
|
;array_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
; Sockets - network socket support
|
; Sockets - network socket support
|
||||||
; --------------------------------
|
; --------------------------------
|
||||||
;sockets_amxx_i386.so
|
;sockets_amxx_i386.so
|
||||||
;sockets_amxx.dll
|
;sockets_amxx.dll
|
||||||
|
;sockets_amxx_amd64.so
|
||||||
|
|
||||||
; --------------------------
|
; --------------------------
|
||||||
; Regular Expression support
|
; Regular Expression support
|
||||||
; --------------------------
|
; --------------------------
|
||||||
;regex_amxx_i386.so
|
;regex_amxx_i386.so
|
||||||
;regex_amxx.dll
|
;regex_amxx.dll
|
||||||
|
;regex_amxx_amd64.so
|
||||||
|
|
||||||
; -----------------------------------------------------------
|
; -----------------------------------------------------------
|
||||||
; The Specialists X - adds functions and stats specific to TS
|
; The Specialists X - adds functions and stats specific to TS
|
||||||
; -----------------------------------------------------------
|
; -----------------------------------------------------------
|
||||||
;tsx_amxx_i386.so
|
tsx_amxx_i386.so
|
||||||
;tsx_amxx.dll
|
tsx_amxx.dll
|
||||||
|
tsx_amxx_amd64.so
|
@ -13,7 +13,6 @@ CCstrikePlayer::CCstrikePlayer()
|
|||||||
{
|
{
|
||||||
modelled = false;
|
modelled = false;
|
||||||
inspectModel = false;
|
inspectModel = false;
|
||||||
online = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CCstrikePlayer::GetModelled()
|
bool CCstrikePlayer::GetModelled()
|
||||||
@ -48,20 +47,3 @@ void CCstrikePlayer::SetInspectModel(bool inspectModelIn)
|
|||||||
{
|
{
|
||||||
inspectModel = inspectModelIn;
|
inspectModel = inspectModelIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CCstrikePlayer::GetOnline()
|
|
||||||
{
|
|
||||||
return online;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CCstrikePlayer::SetOnline(bool onlineIn)
|
|
||||||
{
|
|
||||||
online = onlineIn;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CCstrikePlayer::Initialize()
|
|
||||||
{
|
|
||||||
SetModelled(false);
|
|
||||||
SetInspectModel(false);
|
|
||||||
SetOnline(false);
|
|
||||||
}
|
|
@ -10,8 +10,6 @@ class CCstrikePlayer
|
|||||||
public:
|
public:
|
||||||
CCstrikePlayer();
|
CCstrikePlayer();
|
||||||
|
|
||||||
void Initialize();
|
|
||||||
|
|
||||||
bool GetModelled();
|
bool GetModelled();
|
||||||
bool SetModelled(bool modelledIn);
|
bool SetModelled(bool modelledIn);
|
||||||
const char* GetModel();
|
const char* GetModel();
|
||||||
@ -20,13 +18,10 @@ public:
|
|||||||
bool GetInspectModel();
|
bool GetInspectModel();
|
||||||
void SetInspectModel(bool inspectModelIn);
|
void SetInspectModel(bool inspectModelIn);
|
||||||
|
|
||||||
bool GetOnline();
|
|
||||||
void SetOnline(bool onlineIn);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool inspectModel;
|
bool inspectModel;
|
||||||
bool modelled;
|
bool modelled;
|
||||||
bool online;
|
|
||||||
char model[32];
|
char model[32];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -46,9 +46,19 @@
|
|||||||
|
|
||||||
#if defined __linux__
|
#if defined __linux__
|
||||||
#define EXTRAOFFSET 5 // offsets 5 higher in Linux builds
|
#define EXTRAOFFSET 5 // offsets 5 higher in Linux builds
|
||||||
|
#define EXTRAOFFSET_WEAPONS 4 // weapon offsets are obviously only 4 steps higher on Linux!
|
||||||
#else
|
#else
|
||||||
#define EXTRAOFFSET 0 // no change in Windows builds
|
#define EXTRAOFFSET 0 // no change in Windows builds
|
||||||
|
#define EXTRAOFFSET_WEAPONS 0
|
||||||
#endif // defined __linux__
|
#endif // defined __linux__
|
||||||
|
/*
|
||||||
|
Offset history:
|
||||||
|
041029:
|
||||||
|
Confirmed (pretty much) ALL offsets for 32 bit Windows, 32 bit Linux and amd64 (yes that's all of them).
|
||||||
|
Found out that weapon offsets are only +4 higher on Linux.
|
||||||
|
Also backpack ammo offsets were all obviously 5 steps too high since unknown time...
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
// "player" entities
|
// "player" entities
|
||||||
#if !defined __amd64__
|
#if !defined __amd64__
|
||||||
@ -65,26 +75,26 @@
|
|||||||
#define OFFSET_ISDRIVING 350 + EXTRAOFFSET // 040926
|
#define OFFSET_ISDRIVING 350 + EXTRAOFFSET // 040926
|
||||||
#define OFFSET_STATIONARY 362 + EXTRAOFFSET // 040927 (363 works also!)
|
#define OFFSET_STATIONARY 362 + EXTRAOFFSET // 040927 (363 works also!)
|
||||||
|
|
||||||
#define OFFSET_AWM_AMMO 382 + EXTRAOFFSET
|
#define OFFSET_AWM_AMMO 377 + EXTRAOFFSET // 041029: All of these *_AMMO:s were changed -5
|
||||||
#define OFFSET_SCOUT_AMMO 383 + EXTRAOFFSET
|
#define OFFSET_SCOUT_AMMO 378 + EXTRAOFFSET
|
||||||
#define OFFSET_PARA_AMMO 384 + EXTRAOFFSET
|
#define OFFSET_PARA_AMMO 379 + EXTRAOFFSET
|
||||||
#define OFFSET_FAMAS_AMMO 385 + EXTRAOFFSET
|
#define OFFSET_FAMAS_AMMO 380 + EXTRAOFFSET
|
||||||
#define OFFSET_M3_AMMO 386 + EXTRAOFFSET
|
#define OFFSET_M3_AMMO 381 + EXTRAOFFSET
|
||||||
#define OFFSET_USP_AMMO 387 + EXTRAOFFSET
|
#define OFFSET_USP_AMMO 382 + EXTRAOFFSET
|
||||||
#define OFFSET_FIVESEVEN_AMMO 388 + EXTRAOFFSET
|
#define OFFSET_FIVESEVEN_AMMO 383 + EXTRAOFFSET
|
||||||
#define OFFSET_DEAGLE_AMMO 389 + EXTRAOFFSET
|
#define OFFSET_DEAGLE_AMMO 384 + EXTRAOFFSET
|
||||||
#define OFFSET_P228_AMMO 390 + EXTRAOFFSET
|
#define OFFSET_P228_AMMO 385 + EXTRAOFFSET
|
||||||
#define OFFSET_GLOCK_AMMO 391 + EXTRAOFFSET
|
#define OFFSET_GLOCK_AMMO 386 + EXTRAOFFSET
|
||||||
#define OFFSET_FLASH_AMMO 392 + EXTRAOFFSET
|
#define OFFSET_FLASH_AMMO 387 + EXTRAOFFSET
|
||||||
#define OFFSET_HE_AMMO 393 + EXTRAOFFSET
|
#define OFFSET_HE_AMMO 388 + EXTRAOFFSET
|
||||||
#define OFFSET_SMOKE_AMMO 394 + EXTRAOFFSET
|
#define OFFSET_SMOKE_AMMO 389 + EXTRAOFFSET
|
||||||
#define OFFSET_C4_AMMO 395 + EXTRAOFFSET
|
#define OFFSET_C4_AMMO 390 + EXTRAOFFSET
|
||||||
|
|
||||||
#define OFFSET_CSDEATHS 444 + EXTRAOFFSET // 040926
|
#define OFFSET_CSDEATHS 444 + EXTRAOFFSET // 040926
|
||||||
// "weapon_*" entities
|
// "weapon_*" entities
|
||||||
#define OFFSET_WEAPONTYPE 43 + EXTRAOFFSET
|
#define OFFSET_WEAPONTYPE 43 + EXTRAOFFSET_WEAPONS
|
||||||
#define OFFSET_CLIPAMMO 51 + EXTRAOFFSET
|
#define OFFSET_CLIPAMMO 51 + EXTRAOFFSET_WEAPONS
|
||||||
#define OFFSET_SILENCER_FIREMODE 74 + EXTRAOFFSET
|
#define OFFSET_SILENCER_FIREMODE 74 + EXTRAOFFSET_WEAPONS
|
||||||
// "hostage_entity" entities
|
// "hostage_entity" entities
|
||||||
#define OFFSET_HOSTAGEFOLLOW 86 + EXTRAOFFSET
|
#define OFFSET_HOSTAGEFOLLOW 86 + EXTRAOFFSET
|
||||||
#define OFFSET_HOSTAGEID 487 + EXTRAOFFSET
|
#define OFFSET_HOSTAGEID 487 + EXTRAOFFSET
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
#define __MODULECONFIG_H__
|
#define __MODULECONFIG_H__
|
||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "Counter-Strike"
|
#define MODULE_NAME "CStrike"
|
||||||
#define MODULE_VERSION "0.20"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org"
|
#define MODULE_URL "http://www.amxmodx.org"
|
||||||
#define MODULE_LOGTAG "CSTRIKE"
|
#define MODULE_LOGTAG "CSTRIKE"
|
||||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
|||||||
|
|
||||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||||
{
|
{
|
||||||
|
if ( gpGamedllFuncs ){
|
||||||
|
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
if(now > Plugin_info.loadable) {
|
if(now > Plugin_info.loadable) {
|
||||||
LOG_ERROR(PLID, "Can't load module right now");
|
LOG_ERROR(PLID, "Can't load module right now");
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "CSX"
|
#define MODULE_NAME "CSX"
|
||||||
#define MODULE_VERSION "0.20"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org/"
|
#define MODULE_URL "http://www.amxmodx.org/"
|
||||||
#define MODULE_LOGTAG "CSX"
|
#define MODULE_LOGTAG "CSX"
|
||||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
|||||||
|
|
||||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||||
{
|
{
|
||||||
|
if ( gpGamedllFuncs ){
|
||||||
|
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
if(now > Plugin_info.loadable) {
|
if(now > Plugin_info.loadable) {
|
||||||
LOG_ERROR(PLID, "Can't load module right now");
|
LOG_ERROR(PLID, "Can't load module right now");
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "DoD Fun"
|
#define MODULE_NAME "DoD Fun"
|
||||||
#define MODULE_VERSION "0.1"
|
#define MODULE_VERSION "1.0"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org"
|
#define MODULE_URL "http://www.amxmodx.org"
|
||||||
#define MODULE_LOGTAG "DODFUN"
|
#define MODULE_LOGTAG "DODFUN"
|
||||||
|
@ -89,7 +89,7 @@ static cell AMX_NATIVE_CALL get_user_vstats(AMX *amx, cell *params) /* 6 param *
|
|||||||
static cell AMX_NATIVE_CALL get_user_wlstats(AMX *amx, cell *params) /* 4 param */ // DEC-Weapon (round) stats (end)
|
static cell AMX_NATIVE_CALL get_user_wlstats(AMX *amx, cell *params) /* 4 param */ // DEC-Weapon (round) stats (end)
|
||||||
{
|
{
|
||||||
int index = params[1];
|
int index = params[1];
|
||||||
CHECK_PLAYERRANGE(index);
|
CHECK_PLAYER(index);
|
||||||
int weapon = params[2];
|
int weapon = params[2];
|
||||||
if (weapon<0||weapon>=DODMAX_WEAPONS){
|
if (weapon<0||weapon>=DODMAX_WEAPONS){
|
||||||
MF_LogError(amx, AMX_ERR_NATIVE, "Invalid weapon id %d", weapon);
|
MF_LogError(amx, AMX_ERR_NATIVE, "Invalid weapon id %d", weapon);
|
||||||
@ -118,7 +118,7 @@ static cell AMX_NATIVE_CALL get_user_wlstats(AMX *amx, cell *params) /* 4 param
|
|||||||
static cell AMX_NATIVE_CALL get_user_wrstats(AMX *amx, cell *params) /* 4 param */ // DEC-Weapon (round) stats (end)
|
static cell AMX_NATIVE_CALL get_user_wrstats(AMX *amx, cell *params) /* 4 param */ // DEC-Weapon (round) stats (end)
|
||||||
{
|
{
|
||||||
int index = params[1];
|
int index = params[1];
|
||||||
CHECK_PLAYERRANGE(index)
|
CHECK_PLAYER(index)
|
||||||
int weapon = params[2];
|
int weapon = params[2];
|
||||||
if (weapon<0||weapon>=DODMAX_WEAPONS){
|
if (weapon<0||weapon>=DODMAX_WEAPONS){
|
||||||
MF_LogError(amx, AMX_ERR_NATIVE, "Invalid weapon id %d", weapon);
|
MF_LogError(amx, AMX_ERR_NATIVE, "Invalid weapon id %d", weapon);
|
||||||
@ -147,7 +147,7 @@ static cell AMX_NATIVE_CALL get_user_wrstats(AMX *amx, cell *params) /* 4 param
|
|||||||
static cell AMX_NATIVE_CALL get_user_wstats(AMX *amx, cell *params) /* 4 param */
|
static cell AMX_NATIVE_CALL get_user_wstats(AMX *amx, cell *params) /* 4 param */
|
||||||
{
|
{
|
||||||
int index = params[1];
|
int index = params[1];
|
||||||
CHECK_PLAYERRANGE(index)
|
CHECK_PLAYER(index)
|
||||||
int weapon = params[2];
|
int weapon = params[2];
|
||||||
if (weapon<0||weapon>=DODMAX_WEAPONS){
|
if (weapon<0||weapon>=DODMAX_WEAPONS){
|
||||||
MF_LogError(amx, AMX_ERR_NATIVE, "Invalid weapon id %d", weapon);
|
MF_LogError(amx, AMX_ERR_NATIVE, "Invalid weapon id %d", weapon);
|
||||||
@ -176,7 +176,7 @@ static cell AMX_NATIVE_CALL get_user_wstats(AMX *amx, cell *params) /* 4 param *
|
|||||||
static cell AMX_NATIVE_CALL reset_user_wstats(AMX *amx, cell *params) /* 6 param */
|
static cell AMX_NATIVE_CALL reset_user_wstats(AMX *amx, cell *params) /* 6 param */
|
||||||
{
|
{
|
||||||
int index = params[1];
|
int index = params[1];
|
||||||
CHECK_PLAYERRANGE(index);
|
CHECK_PLAYER(index);
|
||||||
CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);
|
CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);
|
||||||
pPlayer->restartStats();
|
pPlayer->restartStats();
|
||||||
return 1;
|
return 1;
|
||||||
@ -185,7 +185,7 @@ static cell AMX_NATIVE_CALL reset_user_wstats(AMX *amx, cell *params) /* 6 param
|
|||||||
static cell AMX_NATIVE_CALL get_user_stats(AMX *amx, cell *params) /* 3 param */
|
static cell AMX_NATIVE_CALL get_user_stats(AMX *amx, cell *params) /* 3 param */
|
||||||
{
|
{
|
||||||
int index = params[1];
|
int index = params[1];
|
||||||
CHECK_PLAYERRANGE(index);
|
CHECK_PLAYER(index);
|
||||||
CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);
|
CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);
|
||||||
if ( pPlayer->ingame ){
|
if ( pPlayer->ingame ){
|
||||||
cell *cpStats = MF_GetAmxAddr(amx,params[2]);
|
cell *cpStats = MF_GetAmxAddr(amx,params[2]);
|
||||||
@ -210,7 +210,7 @@ static cell AMX_NATIVE_CALL get_user_stats(AMX *amx, cell *params) /* 3 param */
|
|||||||
static cell AMX_NATIVE_CALL get_user_lstats(AMX *amx, cell *params) /* 3 param */
|
static cell AMX_NATIVE_CALL get_user_lstats(AMX *amx, cell *params) /* 3 param */
|
||||||
{
|
{
|
||||||
int index = params[1];
|
int index = params[1];
|
||||||
CHECK_PLAYERRANGE(index);
|
CHECK_PLAYER(index);
|
||||||
CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);
|
CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);
|
||||||
if (pPlayer->ingame){
|
if (pPlayer->ingame){
|
||||||
cell *cpStats = MF_GetAmxAddr(amx,params[2]);
|
cell *cpStats = MF_GetAmxAddr(amx,params[2]);
|
||||||
@ -233,7 +233,7 @@ static cell AMX_NATIVE_CALL get_user_lstats(AMX *amx, cell *params) /* 3 param *
|
|||||||
static cell AMX_NATIVE_CALL get_user_rstats(AMX *amx, cell *params) /* 3 param */
|
static cell AMX_NATIVE_CALL get_user_rstats(AMX *amx, cell *params) /* 3 param */
|
||||||
{
|
{
|
||||||
int index = params[1];
|
int index = params[1];
|
||||||
CHECK_PLAYERRANGE(index)
|
CHECK_PLAYER(index)
|
||||||
CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);
|
CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);
|
||||||
if (pPlayer->ingame){
|
if (pPlayer->ingame){
|
||||||
cell *cpStats = MF_GetAmxAddr(amx,params[2]);
|
cell *cpStats = MF_GetAmxAddr(amx,params[2]);
|
||||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
|||||||
|
|
||||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||||
{
|
{
|
||||||
|
if ( gpGamedllFuncs ){
|
||||||
|
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
if(now > Plugin_info.loadable) {
|
if(now > Plugin_info.loadable) {
|
||||||
LOG_ERROR(PLID, "Can't load module right now");
|
LOG_ERROR(PLID, "Can't load module right now");
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "DoDX"
|
#define MODULE_NAME "DoDX"
|
||||||
#define MODULE_VERSION "0.20"
|
#define MODULE_VERSION "1.0"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org"
|
#define MODULE_URL "http://www.amxmodx.org"
|
||||||
#define MODULE_LOGTAG "DODX"
|
#define MODULE_LOGTAG "DODX"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "Engine"
|
#define MODULE_NAME "Engine"
|
||||||
#define MODULE_VERSION "0.20"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org"
|
#define MODULE_URL "http://www.amxmodx.org"
|
||||||
#define MODULE_LOGTAG "ENGINE"
|
#define MODULE_LOGTAG "ENGINE"
|
||||||
|
@ -11,6 +11,7 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
|
|||||||
int len;
|
int len;
|
||||||
char *temp;
|
char *temp;
|
||||||
char *temp2;
|
char *temp2;
|
||||||
|
char *temp3;
|
||||||
cell *cRet;
|
cell *cRet;
|
||||||
vec3_t Vec1;
|
vec3_t Vec1;
|
||||||
vec3_t Vec2;
|
vec3_t Vec2;
|
||||||
@ -947,13 +948,12 @@ static cell AMX_NATIVE_CALL engfunc(AMX *amx, cell *params)
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case EngFunc_SetKeyValue: // void ) (char *infobuffer, char *key, char *value);
|
case EngFunc_SetKeyValue: // void ) (char *infobuffer, char *key, char *value);
|
||||||
cRet = MF_GetAmxAddr(amx,params[2]);
|
temp3 = MF_GetAmxString(amx, params[2], 0, &len);
|
||||||
index = cRet[0];
|
temp = MF_GetAmxString(amx, params[3], 1, &len);
|
||||||
CHECK_ENTITY(index);
|
temp2 = MF_GetAmxString(amx, params[4], 2, &len);
|
||||||
temp = MF_GetAmxString(amx,params[3],0,&len);
|
(*g_engfuncs.pfnSetKeyValue)(temp3, temp, temp2);
|
||||||
temp2 = MF_GetAmxString(amx,params[4],1,&len);
|
|
||||||
(*g_engfuncs.pfnSetKeyValue)((*g_engfuncs.pfnGetInfoKeyBuffer)(INDEXENT2(index)),temp,temp2);
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case EngFunc_SetClientKeyValue: // void ) (int clientIndex, char *infobuffer, char *key, char *value);
|
case EngFunc_SetClientKeyValue: // void ) (int clientIndex, char *infobuffer, char *key, char *value);
|
||||||
cRet = MF_GetAmxAddr(amx,params[2]);
|
cRet = MF_GetAmxAddr(amx,params[2]);
|
||||||
index = cRet[0];
|
index = cRet[0];
|
||||||
|
@ -650,14 +650,26 @@
|
|||||||
#define SIMPLE_VOID_HOOK_INT_INT_CONSTVECT_EDICT(call) \
|
#define SIMPLE_VOID_HOOK_INT_INT_CONSTVECT_EDICT(call) \
|
||||||
void call (int v, int vb, const float *vec, edict_t *e) \
|
void call (int v, int vb, const float *vec, edict_t *e) \
|
||||||
{ \
|
{ \
|
||||||
|
if (vec) { \
|
||||||
PREPARE_VECTOR(vec); \
|
PREPARE_VECTOR(vec); \
|
||||||
FM_ENG_HANDLE(FM_##call, (Engine[FM_##call].at(i), v, vb, p_vec, ENTINDEX(e))); \
|
FM_ENG_HANDLE(FM_##call, (Engine[FM_##call].at(i), v, vb, p_vec, ENTINDEX(e))); \
|
||||||
|
} else { \
|
||||||
|
const float b[3]={0.0,0.0,0.0}; \
|
||||||
|
PREPARE_VECTOR(b); \
|
||||||
|
FM_ENG_HANDLE(FM_##call, (Engine[FM_##call].at(i), v, vb, p_b, ENTINDEX(e))); \
|
||||||
|
} \
|
||||||
RETURN_META(mswi(lastFmRes)); \
|
RETURN_META(mswi(lastFmRes)); \
|
||||||
} \
|
} \
|
||||||
void call##_post (int v, int vb, const float *vec, edict_t *e) \
|
void call##_post (int v, int vb, const float *vec, edict_t *e) \
|
||||||
{ \
|
{ \
|
||||||
|
if (vec) { \
|
||||||
PREPARE_VECTOR(vec); \
|
PREPARE_VECTOR(vec); \
|
||||||
FM_ENG_HANDLE_POST(FM_##call, (EnginePost[FM_##call].at(i), v, vb, p_vec, ENTINDEX(e))); \
|
FM_ENG_HANDLE_POST(FM_##call, (EnginePost[FM_##call].at(i), v, vb, p_vec, ENTINDEX(e))); \
|
||||||
|
} else { \
|
||||||
|
const float b[3]={0.0,0.0,0.0}; \
|
||||||
|
PREPARE_VECTOR(b); \
|
||||||
|
FM_ENG_HANDLE_POST(FM_##call, (EnginePost[FM_##call].at(i), v, vb, p_b, ENTINDEX(e))); \
|
||||||
|
} \
|
||||||
RETURN_META(MRES_IGNORED); \
|
RETURN_META(MRES_IGNORED); \
|
||||||
}
|
}
|
||||||
#define SIMPLE_BOOL_HOOK_EDICT_CONSTSTRING_CONSTSTRING_STRING128(call) \
|
#define SIMPLE_BOOL_HOOK_EDICT_CONSTSTRING_CONSTSTRING_STRING128(call) \
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "FakeMeta"
|
#define MODULE_NAME "FakeMeta"
|
||||||
#define MODULE_VERSION "0.20"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org"
|
#define MODULE_URL "http://www.amxmodx.org"
|
||||||
#define MODULE_LOGTAG "FAKEMETA"
|
#define MODULE_LOGTAG "FAKEMETA"
|
||||||
|
@ -413,16 +413,12 @@ static cell AMX_NATIVE_CALL set_user_hitzones(AMX *amx, cell *params) // set_use
|
|||||||
// Sets user hitzones.
|
// Sets user hitzones.
|
||||||
// params[1] = the one(s) who shoot(s), shooter
|
// params[1] = the one(s) who shoot(s), shooter
|
||||||
int shooter = params[1];
|
int shooter = params[1];
|
||||||
if (shooter == -1)
|
|
||||||
shooter = 0;
|
|
||||||
// params[2] = the one getting hit
|
// params[2] = the one getting hit
|
||||||
int gettingHit = params[2];
|
int gettingHit = params[2];
|
||||||
if (gettingHit == -1)
|
|
||||||
gettingHit = 0;
|
|
||||||
// params[3] = specified hit zones
|
// params[3] = specified hit zones
|
||||||
int hitzones = params[3];
|
int hitzones = params[3];
|
||||||
if (hitzones == -1)
|
|
||||||
hitzones = 255;
|
|
||||||
|
|
||||||
//set_user_hitzones(id, 0, 0) // Makes ID not able to shoot EVERYONE - id can shoot on 0 (all) at 0
|
//set_user_hitzones(id, 0, 0) // Makes ID not able to shoot EVERYONE - id can shoot on 0 (all) at 0
|
||||||
//set_user_hitzones(0, id, 0) // Makes EVERYONE not able to shoot ID - 0 (all) can shoot id at 0
|
//set_user_hitzones(0, id, 0) // Makes EVERYONE not able to shoot ID - 0 (all) can shoot id at 0
|
||||||
@ -458,7 +454,11 @@ static cell AMX_NATIVE_CALL get_user_hitzones(AMX *amx, cell *params) // get_use
|
|||||||
int gettingHit = params[2];
|
int gettingHit = params[2];
|
||||||
|
|
||||||
if (shooter) {
|
if (shooter) {
|
||||||
CHECK_PLAYER(shooter);
|
if (shooter < 1 || shooter > gpGlobals->maxClients) {
|
||||||
|
MF_LogError(amx, AMX_ERR_NATIVE, "Player out of range (%d)", shooter);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
return g_zones_toHit[shooter];
|
return g_zones_toHit[shooter];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "Fun"
|
#define MODULE_NAME "Fun"
|
||||||
#define MODULE_VERSION "0.20"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org"
|
#define MODULE_URL "http://www.amxmodx.org"
|
||||||
#define MODULE_LOGTAG "FUN"
|
#define MODULE_LOGTAG "FUN"
|
||||||
|
Binary file not shown.
@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "GeoIP"
|
#define MODULE_NAME "GeoIP"
|
||||||
#define MODULE_VERSION "1.1"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "BAILOPAN"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.bailopan.com/"
|
#define MODULE_URL "http://www.amxmodx.org/"
|
||||||
#define MODULE_LOGTAG "GEOIP"
|
#define MODULE_LOGTAG "GEOIP"
|
||||||
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
||||||
//#define MODULE_RELOAD_ON_MAPCHANGE
|
//#define MODULE_RELOAD_ON_MAPCHANGE
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "MSSQL"
|
#define MODULE_NAME "MSSQL"
|
||||||
#define MODULE_VERSION "1.0"
|
#define MODULE_VERSION "1.0"
|
||||||
#define MODULE_AUTHOR "BAILOPAN"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.bailopan.com/"
|
#define MODULE_URL "http://www.amxmodx.org/"
|
||||||
#define MODULE_LOGTAG "MSSQL"
|
#define MODULE_LOGTAG "MSSQL"
|
||||||
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
||||||
#define MODULE_RELOAD_ON_MAPCHANGE
|
#define MODULE_RELOAD_ON_MAPCHANGE
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "NS"
|
#define MODULE_NAME "NS"
|
||||||
#define MODULE_VERSION "0.20"
|
#define MODULE_VERSION "1.0"
|
||||||
#define MODULE_AUTHOR "Steve Dudenhoeffer"
|
#define MODULE_AUTHOR "Steve Dudenhoeffer"
|
||||||
#define MODULE_URL "http://www.amxmodx.org/"
|
#define MODULE_URL "http://www.amxmodx.org/"
|
||||||
#define MODULE_LOGTAG "NS"
|
#define MODULE_LOGTAG "NS"
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "PgSQL"
|
#define MODULE_NAME "PgSQL"
|
||||||
#define MODULE_VERSION "1.1"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "BAILOPAN"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.bailopan.com/"
|
#define MODULE_URL "http://www.amxmodx.org/"
|
||||||
#define MODULE_LOGTAG "PGSQL"
|
#define MODULE_LOGTAG "PGSQL"
|
||||||
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
||||||
#define MODULE_RELOAD_ON_MAPCHANGE
|
#define MODULE_RELOAD_ON_MAPCHANGE
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
Optimization="0"
|
Optimization="0"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PGSQL_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PGSQL_EXPORTS"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="4"
|
||||||
UsePrecompiledHeader="2"
|
UsePrecompiledHeader="2"
|
||||||
PrecompiledHeaderFile=".\Debug/pgsql.pch"
|
PrecompiledHeaderFile=".\Debug/pgsql.pch"
|
||||||
AssemblerListingLocation=".\Debug/"
|
AssemblerListingLocation=".\Debug/"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "RegEx"
|
#define MODULE_NAME "RegEx"
|
||||||
#define MODULE_VERSION "1.00"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "BAILOPAN"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org/"
|
#define MODULE_URL "http://www.amxmodx.org/"
|
||||||
#define MODULE_LOGTAG "REGEX"
|
#define MODULE_LOGTAG "REGEX"
|
||||||
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
// If you want the module not to be reloaded on mapchange, remove / comment out the next line
|
||||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
|||||||
|
|
||||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||||
{
|
{
|
||||||
|
if ( gpGamedllFuncs ){
|
||||||
|
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
if(now > Plugin_info.loadable) {
|
if(now > Plugin_info.loadable) {
|
||||||
LOG_ERROR(PLID, "Can't load module right now");
|
LOG_ERROR(PLID, "Can't load module right now");
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "TfcX"
|
#define MODULE_NAME "TfcX"
|
||||||
#define MODULE_VERSION "0.20"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org"
|
#define MODULE_URL "http://www.amxmodx.org"
|
||||||
#define MODULE_LOGTAG "TFCX"
|
#define MODULE_LOGTAG "TFCX"
|
||||||
|
@ -2296,6 +2296,11 @@ C_DLLEXPORT int Meta_Query(char *ifvers, plugin_info_t **pPlugInfo, mutil_funcs_
|
|||||||
|
|
||||||
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now, META_FUNCTIONS *pFunctionTable, meta_globals_t *pMGlobals, gamedll_funcs_t *pGamedllFuncs)
|
||||||
{
|
{
|
||||||
|
if ( gpGamedllFuncs ){
|
||||||
|
LOG_ERROR(PLID,"gpGamedllFuncs already set");
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
if(now > Plugin_info.loadable) {
|
if(now > Plugin_info.loadable) {
|
||||||
LOG_ERROR(PLID, "Can't load module right now");
|
LOG_ERROR(PLID, "Can't load module right now");
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// Module info
|
// Module info
|
||||||
#define MODULE_NAME "TSX"
|
#define MODULE_NAME "TSX"
|
||||||
#define MODULE_VERSION "0.2"
|
#define MODULE_VERSION "1.00"
|
||||||
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
#define MODULE_AUTHOR "AMX Mod X Dev Team"
|
||||||
#define MODULE_URL "http://www.amxmodx.org"
|
#define MODULE_URL "http://www.amxmodx.org"
|
||||||
#define MODULE_LOGTAG "TSX"
|
#define MODULE_LOGTAG "TSX"
|
||||||
|
770
installer/amxmodx-installer.nsi
Executable file
770
installer/amxmodx-installer.nsi
Executable file
@ -0,0 +1,770 @@
|
|||||||
|
;(C)2004 AMX Mod X Development Team
|
||||||
|
; Licensed under the GNU General Public License
|
||||||
|
; Written by -=HaXoMaTiC=-
|
||||||
|
!define PRODUCT_NAME "AMX Mod X Installer"
|
||||||
|
!define PRODUCT_VERSION "1.0"
|
||||||
|
!define PRODUCT_PUBLISHER "AMX Mod X Dev Team"
|
||||||
|
!define PRODUCT_WEB_SITE "http://www.amxmodx.org/"
|
||||||
|
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\amxmodx.exe"
|
||||||
|
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
||||||
|
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
|
||||||
|
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"
|
||||||
|
|
||||||
|
SetCompressor lzma
|
||||||
|
|
||||||
|
!include "MUI.nsh"
|
||||||
|
|
||||||
|
; MUI Settings
|
||||||
|
!define MUI_ABORTWARNING
|
||||||
|
!define MUI_ICON "installer\amxmodx.ico"
|
||||||
|
!define MUI_UNICON "installer\amxmodx.ico"
|
||||||
|
|
||||||
|
; Welcome page
|
||||||
|
!insertmacro MUI_PAGE_WELCOME
|
||||||
|
; License page
|
||||||
|
!define MUI_LICENSEPAGE_RADIOBUTTONS
|
||||||
|
!insertmacro MUI_PAGE_LICENSE "installer\gpl.txt"
|
||||||
|
; Directory page
|
||||||
|
!insertmacro MUI_PAGE_DIRECTORY
|
||||||
|
; Start menu page
|
||||||
|
var ICONS_GROUP
|
||||||
|
!define MUI_STARTMENUPAGE_NODISABLE
|
||||||
|
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "AMX Mod X"
|
||||||
|
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
|
||||||
|
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
|
||||||
|
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
|
||||||
|
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
|
||||||
|
; Instfiles page
|
||||||
|
!insertmacro MUI_PAGE_INSTFILES
|
||||||
|
; Finish page
|
||||||
|
!define MUI_FINISHPAGE_RUN "$INSTDIR\amxmodx.exe"
|
||||||
|
!insertmacro MUI_PAGE_FINISH
|
||||||
|
|
||||||
|
; Uninstaller pages
|
||||||
|
!insertmacro MUI_UNPAGE_INSTFILES
|
||||||
|
|
||||||
|
; Language files
|
||||||
|
!insertmacro MUI_LANGUAGE "English"
|
||||||
|
|
||||||
|
; Reserve files
|
||||||
|
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
|
||||||
|
|
||||||
|
; MUI end ------
|
||||||
|
|
||||||
|
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
||||||
|
OutFile "amxmodx-installer-${PRODUCT_VERSION}.exe"
|
||||||
|
InstallDir "$PROGRAMFILES\AMX Mod X"
|
||||||
|
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
|
||||||
|
ShowInstDetails show
|
||||||
|
ShowUnInstDetails show
|
||||||
|
|
||||||
|
Section "MainSection" SEC01
|
||||||
|
SetOutPath "$INSTDIR"
|
||||||
|
CreateDirectory "$INSTDIR\temp"
|
||||||
|
SetOverwrite try
|
||||||
|
File "installer\amxmodx.exe"
|
||||||
|
SetOutPath "$INSTDIR\files\base\configs"
|
||||||
|
File "installer\files\base\configs\amxx.cfg"
|
||||||
|
File "installer\files\base\configs\clcmds.ini"
|
||||||
|
File "installer\files\base\configs\cmds.ini"
|
||||||
|
File "installer\files\base\configs\configs.ini"
|
||||||
|
File "installer\files\base\configs\conmotd.txt"
|
||||||
|
File "installer\files\base\configs\core.ini"
|
||||||
|
File "installer\files\base\configs\custommenuitems.cfg"
|
||||||
|
File "installer\files\base\configs\cvars.ini"
|
||||||
|
File "installer\files\base\configs\maps.ini"
|
||||||
|
File "installer\files\base\configs\modules.ini"
|
||||||
|
File "installer\files\base\configs\plugins.ini"
|
||||||
|
File "installer\files\base\configs\speech.ini"
|
||||||
|
File "installer\files\base\configs\sql.cfg"
|
||||||
|
File "installer\files\base\configs\users.ini"
|
||||||
|
SetOutPath "$INSTDIR\files\base\data"
|
||||||
|
File "installer\files\base\data\GeoIP.dat"
|
||||||
|
SetOutPath "$INSTDIR\files\base\data\lang"
|
||||||
|
File "installer\files\base\data\lang\admin.txt"
|
||||||
|
File "installer\files\base\data\lang\adminchat.txt"
|
||||||
|
File "installer\files\base\data\lang\admincmd.txt"
|
||||||
|
File "installer\files\base\data\lang\adminhelp.txt"
|
||||||
|
File "installer\files\base\data\lang\adminslots.txt"
|
||||||
|
File "installer\files\base\data\lang\adminvote.txt"
|
||||||
|
File "installer\files\base\data\lang\antiflood.txt"
|
||||||
|
File "installer\files\base\data\lang\cmdmenu.txt"
|
||||||
|
File "installer\files\base\data\lang\common.txt"
|
||||||
|
File "installer\files\base\data\lang\imessage.txt"
|
||||||
|
File "installer\files\base\data\lang\languages.txt"
|
||||||
|
File "installer\files\base\data\lang\mapchooser.txt"
|
||||||
|
File "installer\files\base\data\lang\mapsmenu.txt"
|
||||||
|
File "installer\files\base\data\lang\menufront.txt"
|
||||||
|
File "installer\files\base\data\lang\miscstats.txt"
|
||||||
|
File "installer\files\base\data\lang\multilingual.txt"
|
||||||
|
File "installer\files\base\data\lang\nextmap.txt"
|
||||||
|
File "installer\files\base\data\lang\pausecfg.txt"
|
||||||
|
File "installer\files\base\data\lang\plmenu.txt"
|
||||||
|
File "installer\files\base\data\lang\restmenu.txt"
|
||||||
|
File "installer\files\base\data\lang\scrollmsg.txt"
|
||||||
|
File "installer\files\base\data\lang\statscfg.txt"
|
||||||
|
File "installer\files\base\data\lang\statsx.txt"
|
||||||
|
File "installer\files\base\data\lang\stats_dod.txt"
|
||||||
|
File "installer\files\base\data\lang\telemenu.txt"
|
||||||
|
File "installer\files\base\data\lang\timeleft.txt"
|
||||||
|
SetOutPath "$INSTDIR\files\base\dlls"
|
||||||
|
File "installer\files\base\dlls\amxmodx_mm.dll"
|
||||||
|
File "installer\files\base\dlls\amxmodx_mm_amd64.so"
|
||||||
|
File "installer\files\base\dlls\amxmodx_mm_i386.so"
|
||||||
|
File "installer\files\base\dlls\metamod.dll"
|
||||||
|
File "installer\files\base\dlls\metamod_amd64.so"
|
||||||
|
File "installer\files\base\dlls\metamod_i386.so"
|
||||||
|
SetOutPath "$INSTDIR\files\base\doc"
|
||||||
|
File "installer\files\base\doc\amxmodx-doc.chm"
|
||||||
|
SetOutPath "$INSTDIR\files\base\modules"
|
||||||
|
File "installer\files\base\modules\array_amxx.dll"
|
||||||
|
File "installer\files\base\modules\array_amxx_amd64.so"
|
||||||
|
File "installer\files\base\modules\array_amxx_i386.so"
|
||||||
|
File "installer\files\base\modules\engine_amxx.dll"
|
||||||
|
File "installer\files\base\modules\engine_amxx_amd64.so"
|
||||||
|
File "installer\files\base\modules\engine_amxx_i386.so"
|
||||||
|
File "installer\files\base\modules\fakemeta_amxx.dll"
|
||||||
|
File "installer\files\base\modules\fakemeta_amxx_amd64.so"
|
||||||
|
File "installer\files\base\modules\fakemeta_amxx_i386.so"
|
||||||
|
File "installer\files\base\modules\fun_amxx.dll"
|
||||||
|
File "installer\files\base\modules\fun_amxx_amd64.so"
|
||||||
|
File "installer\files\base\modules\fun_amxx_i386.so"
|
||||||
|
File "installer\files\base\modules\geoip_amxx.dll"
|
||||||
|
File "installer\files\base\modules\geoip_amxx_amd64.so"
|
||||||
|
File "installer\files\base\modules\geoip_amxx_i386.so"
|
||||||
|
File "installer\files\base\modules\mssql_amxx.dll"
|
||||||
|
File "installer\files\base\modules\mysql_amxx.dll"
|
||||||
|
File "installer\files\base\modules\mysql_amxx_amd64.so"
|
||||||
|
File "installer\files\base\modules\mysql_amxx_i386.so"
|
||||||
|
File "installer\files\base\modules\pgsql_amxx.dll"
|
||||||
|
File "installer\files\base\modules\pgsql_amxx_i386.so"
|
||||||
|
File "installer\files\base\modules\regex_amxx.dll"
|
||||||
|
File "installer\files\base\modules\regex_amxx_amd64.so"
|
||||||
|
File "installer\files\base\modules\regex_amxx_i386.so"
|
||||||
|
File "installer\files\base\modules\sockets_amxx.dll"
|
||||||
|
File "installer\files\base\modules\sockets_amxx_amd64.so"
|
||||||
|
File "installer\files\base\modules\sockets_amxx_i386.so"
|
||||||
|
SetOutPath "$INSTDIR\files\base\plugins"
|
||||||
|
File "installer\files\base\plugins\admin.amxx"
|
||||||
|
File "installer\files\base\plugins\adminchat.amxx"
|
||||||
|
File "installer\files\base\plugins\admincmd.amxx"
|
||||||
|
File "installer\files\base\plugins\adminhelp.amxx"
|
||||||
|
File "installer\files\base\plugins\adminslots.amxx"
|
||||||
|
File "installer\files\base\plugins\adminvote.amxx"
|
||||||
|
File "installer\files\base\plugins\admin_sql.amxx"
|
||||||
|
File "installer\files\base\plugins\antiflood.amxx"
|
||||||
|
File "installer\files\base\plugins\cmdmenu.amxx"
|
||||||
|
File "installer\files\base\plugins\imessage.amxx"
|
||||||
|
File "installer\files\base\plugins\mapchooser.amxx"
|
||||||
|
File "installer\files\base\plugins\mapsmenu.amxx"
|
||||||
|
File "installer\files\base\plugins\menufront.amxx"
|
||||||
|
File "installer\files\base\plugins\multilingual.amxx"
|
||||||
|
File "installer\files\base\plugins\nextmap.amxx"
|
||||||
|
File "installer\files\base\plugins\pausecfg.amxx"
|
||||||
|
File "installer\files\base\plugins\plmenu.amxx"
|
||||||
|
File "installer\files\base\plugins\scrollmsg.amxx"
|
||||||
|
File "installer\files\base\plugins\statscfg.amxx"
|
||||||
|
File "installer\files\base\plugins\telemenu.amxx"
|
||||||
|
File "installer\files\base\plugins\timeleft.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\base\scripting"
|
||||||
|
File "installer\files\base\scripting\admin.sma"
|
||||||
|
File "installer\files\base\scripting\adminchat.sma"
|
||||||
|
File "installer\files\base\scripting\admincmd.sma"
|
||||||
|
File "installer\files\base\scripting\adminhelp.sma"
|
||||||
|
File "installer\files\base\scripting\adminslots.sma"
|
||||||
|
File "installer\files\base\scripting\adminvote.sma"
|
||||||
|
File "installer\files\base\scripting\amxxsc"
|
||||||
|
File "installer\files\base\scripting\amxxsc.exe"
|
||||||
|
File "installer\files\base\scripting\amxxsc32.dll"
|
||||||
|
File "installer\files\base\scripting\amxxsc32.so"
|
||||||
|
File "installer\files\base\scripting\amxxsc64.dll"
|
||||||
|
File "installer\files\base\scripting\amxxsc64.so"
|
||||||
|
File "installer\files\base\scripting\antiflood.sma"
|
||||||
|
File "installer\files\base\scripting\cmdmenu.sma"
|
||||||
|
File "installer\files\base\scripting\compile.exe"
|
||||||
|
File "installer\files\base\scripting\compile.sh"
|
||||||
|
File "installer\files\base\scripting\dlsym"
|
||||||
|
File "installer\files\base\scripting\dlsym64"
|
||||||
|
File "installer\files\base\scripting\imessage.sma"
|
||||||
|
SetOutPath "$INSTDIR\files\base\scripting\include"
|
||||||
|
File "installer\files\base\scripting\include\amxconst.inc"
|
||||||
|
File "installer\files\base\scripting\include\amxmisc.inc"
|
||||||
|
File "installer\files\base\scripting\include\amxmod.inc"
|
||||||
|
File "installer\files\base\scripting\include\amxmodx.inc"
|
||||||
|
File "installer\files\base\scripting\include\array.inc"
|
||||||
|
File "installer\files\base\scripting\include\core.inc"
|
||||||
|
File "installer\files\base\scripting\include\csstats.inc"
|
||||||
|
File "installer\files\base\scripting\include\cstrike.inc"
|
||||||
|
File "installer\files\base\scripting\include\csx.inc"
|
||||||
|
File "installer\files\base\scripting\include\dbi.inc"
|
||||||
|
File "installer\files\base\scripting\include\dodconst.inc"
|
||||||
|
File "installer\files\base\scripting\include\dodfun.inc"
|
||||||
|
File "installer\files\base\scripting\include\dodstats.inc"
|
||||||
|
File "installer\files\base\scripting\include\dodx.inc"
|
||||||
|
File "installer\files\base\scripting\include\engine.inc"
|
||||||
|
File "installer\files\base\scripting\include\engine_const.inc"
|
||||||
|
File "installer\files\base\scripting\include\engine_stocks.inc"
|
||||||
|
File "installer\files\base\scripting\include\fakemeta.inc"
|
||||||
|
File "installer\files\base\scripting\include\fakemeta_const.inc"
|
||||||
|
File "installer\files\base\scripting\include\fakemeta_stocks.inc"
|
||||||
|
File "installer\files\base\scripting\include\file.inc"
|
||||||
|
File "installer\files\base\scripting\include\float.inc"
|
||||||
|
File "installer\files\base\scripting\include\fun.inc"
|
||||||
|
File "installer\files\base\scripting\include\geoip.inc"
|
||||||
|
File "installer\files\base\scripting\include\jghg2.inc"
|
||||||
|
File "installer\files\base\scripting\include\lang.inc"
|
||||||
|
File "installer\files\base\scripting\include\mysql.inc"
|
||||||
|
File "installer\files\base\scripting\include\ns.inc"
|
||||||
|
File "installer\files\base\scripting\include\ns2amx.inc"
|
||||||
|
File "installer\files\base\scripting\include\ns_const.inc"
|
||||||
|
File "installer\files\base\scripting\include\regex.inc"
|
||||||
|
File "installer\files\base\scripting\include\sockets.inc"
|
||||||
|
File "installer\files\base\scripting\include\string.inc"
|
||||||
|
File "installer\files\base\scripting\include\tfcconst.inc"
|
||||||
|
File "installer\files\base\scripting\include\tfcstats.inc"
|
||||||
|
File "installer\files\base\scripting\include\tfcx.inc"
|
||||||
|
File "installer\files\base\scripting\include\tsconst.inc"
|
||||||
|
File "installer\files\base\scripting\include\tsstats.inc"
|
||||||
|
File "installer\files\base\scripting\include\tsx.inc"
|
||||||
|
File "installer\files\base\scripting\include\vault.inc"
|
||||||
|
File "installer\files\base\scripting\include\Vexd_Utilities.inc"
|
||||||
|
File "installer\files\base\scripting\include\xs.inc"
|
||||||
|
File "installer\files\base\scripting\include\xtrafun.inc"
|
||||||
|
SetOutPath "$INSTDIR\files\base\scripting"
|
||||||
|
File "installer\files\base\scripting\mapchooser.sma"
|
||||||
|
File "installer\files\base\scripting\mapsmenu.sma"
|
||||||
|
File "installer\files\base\scripting\menufront.sma"
|
||||||
|
File "installer\files\base\scripting\multilingual.sma"
|
||||||
|
File "installer\files\base\scripting\nextmap.sma"
|
||||||
|
File "installer\files\base\scripting\pausecfg.sma"
|
||||||
|
File "installer\files\base\scripting\plmenu.sma"
|
||||||
|
File "installer\files\base\scripting\scrollmsg.sma"
|
||||||
|
File "installer\files\base\scripting\statscfg.sma"
|
||||||
|
File "installer\files\base\scripting\telemenu.sma"
|
||||||
|
File "installer\files\base\scripting\timeleft.sma"
|
||||||
|
SetOutPath "$INSTDIR\files\cstrike\configs"
|
||||||
|
File "installer\files\cstrike\configs\amxx.cfg"
|
||||||
|
File "installer\files\cstrike\configs\cmds.ini"
|
||||||
|
File "installer\files\cstrike\configs\core.ini"
|
||||||
|
File "installer\files\cstrike\configs\cvars.ini"
|
||||||
|
File "installer\files\cstrike\configs\maps.ini"
|
||||||
|
File "installer\files\cstrike\configs\modules.ini"
|
||||||
|
File "installer\files\cstrike\configs\plugins.ini"
|
||||||
|
File "installer\files\cstrike\configs\stats.ini"
|
||||||
|
SetOutPath "$INSTDIR\files\cstrike\data"
|
||||||
|
File "installer\files\cstrike\data\csstats.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\cstrike\modules"
|
||||||
|
File "installer\files\cstrike\modules\cstrike_amxx.dll"
|
||||||
|
File "installer\files\cstrike\modules\cstrike_amxx_amd64.so"
|
||||||
|
File "installer\files\cstrike\modules\cstrike_amxx_i386.so"
|
||||||
|
File "installer\files\cstrike\modules\csx_amxx.dll"
|
||||||
|
File "installer\files\cstrike\modules\csx_amxx_amd64.so"
|
||||||
|
File "installer\files\cstrike\modules\csx_amxx_i386.so"
|
||||||
|
SetOutPath "$INSTDIR\files\cstrike\plugins"
|
||||||
|
File "installer\files\cstrike\plugins\miscstats.amxx"
|
||||||
|
File "installer\files\cstrike\plugins\restmenu.amxx"
|
||||||
|
File "installer\files\cstrike\plugins\statsx.amxx"
|
||||||
|
File "installer\files\cstrike\plugins\stats_logging.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\cstrike\scripting"
|
||||||
|
File "installer\files\cstrike\scripting\csstats.sma"
|
||||||
|
File "installer\files\cstrike\scripting\miscstats.sma"
|
||||||
|
File "installer\files\cstrike\scripting\restmenu.sma"
|
||||||
|
File "installer\files\cstrike\scripting\statsx.sma"
|
||||||
|
File "installer\files\cstrike\scripting\stats_logging.sma"
|
||||||
|
SetOutPath "$INSTDIR\files\dod\configs"
|
||||||
|
File "installer\files\dod\configs\core.ini"
|
||||||
|
File "installer\files\dod\configs\cvars.ini"
|
||||||
|
File "installer\files\dod\configs\maps.ini"
|
||||||
|
File "installer\files\dod\configs\modules.ini"
|
||||||
|
File "installer\files\dod\configs\plugins.ini"
|
||||||
|
SetOutPath "$INSTDIR\files\dod\data"
|
||||||
|
File "installer\files\dod\data\dodstats.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\dod\modules"
|
||||||
|
File "installer\files\dod\modules\dodfun_amxx.dll"
|
||||||
|
File "installer\files\dod\modules\dodfun_amxx_amd64.so"
|
||||||
|
File "installer\files\dod\modules\dodfun_amxx_i386.so"
|
||||||
|
File "installer\files\dod\modules\dodx_amxx.dll"
|
||||||
|
File "installer\files\dod\modules\dodx_amxx_amd64.so"
|
||||||
|
File "installer\files\dod\modules\dodx_amxx_i386.so"
|
||||||
|
SetOutPath "$INSTDIR\files\dod\plugins"
|
||||||
|
File "installer\files\dod\plugins\plmenu.amxx"
|
||||||
|
File "installer\files\dod\plugins\stats.amxx"
|
||||||
|
File "installer\files\dod\plugins\statssounds.amxx"
|
||||||
|
File "installer\files\dod\plugins\stats_logging.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\dod\scripting"
|
||||||
|
File "installer\files\dod\scripting\dodstats.sma"
|
||||||
|
File "installer\files\dod\scripting\plmenu.sma"
|
||||||
|
File "installer\files\dod\scripting\stats.sma"
|
||||||
|
File "installer\files\dod\scripting\statssounds.sma"
|
||||||
|
File "installer\files\dod\scripting\stats_logging.sma"
|
||||||
|
SetOutPath "$INSTDIR\files\ns\configs"
|
||||||
|
File "installer\files\ns\configs\amxx.cfg"
|
||||||
|
File "installer\files\ns\configs\clcmds.ini"
|
||||||
|
File "installer\files\ns\configs\cmds.ini"
|
||||||
|
File "installer\files\ns\configs\cvars.ini"
|
||||||
|
File "installer\files\ns\configs\maps.ini"
|
||||||
|
File "installer\files\ns\configs\modules.ini"
|
||||||
|
File "installer\files\ns\configs\plugins.ini"
|
||||||
|
File "installer\files\ns\configs\speech.ini"
|
||||||
|
File "installer\files\ns\configs\users.ini"
|
||||||
|
SetOutPath "$INSTDIR\files\ns\modules"
|
||||||
|
File "installer\files\ns\modules\ns_amxx.dll"
|
||||||
|
File "installer\files\ns\modules\ns_amxx_amd64.so"
|
||||||
|
File "installer\files\ns\modules\ns_amxx_i386.so"
|
||||||
|
SetOutPath "$INSTDIR\files\ns\plugins"
|
||||||
|
File "installer\files\ns\plugins\idlekicker.amxx"
|
||||||
|
File "installer\files\ns\plugins\mapchooser.amxx"
|
||||||
|
File "installer\files\ns\plugins\nextmap.amxx"
|
||||||
|
File "installer\files\ns\plugins\nscommands.amxx"
|
||||||
|
File "installer\files\ns\plugins\timeleft.amxx"
|
||||||
|
File "installer\files\ns\plugins\unstuck.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\ns\scripting"
|
||||||
|
File "installer\files\ns\scripting\idlekicker.sma"
|
||||||
|
File "installer\files\ns\scripting\mapchooser.sma"
|
||||||
|
File "installer\files\ns\scripting\nextmap.sma"
|
||||||
|
File "installer\files\ns\scripting\nscommands.sma"
|
||||||
|
File "installer\files\ns\scripting\timeleft.sma"
|
||||||
|
File "installer\files\ns\scripting\unstuck.sma"
|
||||||
|
SetOutPath "$INSTDIR\files\ns\root\gfx\vgui"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_armory.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_command.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_gorge.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_greyalienres.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_greyhive.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_greyoc.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_hive.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_lerk.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_medpack.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_minihive.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_minimine.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_minioc.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_onos.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_pirate.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_skulk.tga"
|
||||||
|
File "installer\files\ns\root\gfx\vgui\640_turret.tga"
|
||||||
|
SetOutPath "$INSTDIR\files\tfc\configs"
|
||||||
|
File "installer\files\tfc\configs\core.ini"
|
||||||
|
File "installer\files\tfc\configs\cvars.ini"
|
||||||
|
File "installer\files\tfc\configs\maps.ini"
|
||||||
|
File "installer\files\tfc\configs\modules.ini"
|
||||||
|
File "installer\files\tfc\configs\plugins.ini"
|
||||||
|
SetOutPath "$INSTDIR\files\tfc\data"
|
||||||
|
File "installer\files\tfc\data\tfcstats.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\tfc\modules"
|
||||||
|
File "installer\files\tfc\modules\tfcx_amxx.dll"
|
||||||
|
File "installer\files\tfc\modules\tfcx_amxx_amd64.so"
|
||||||
|
File "installer\files\tfc\modules\tfcx_amxx_i386.so"
|
||||||
|
SetOutPath "$INSTDIR\files\tfc\plugins"
|
||||||
|
File "installer\files\tfc\plugins\plmenu.amxx"
|
||||||
|
File "installer\files\tfc\plugins\stats.amxx"
|
||||||
|
File "installer\files\tfc\plugins\statssounds.amxx"
|
||||||
|
File "installer\files\tfc\plugins\stats_logging.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\tfc\scripting"
|
||||||
|
File "installer\files\tfc\scripting\plmenu.sma"
|
||||||
|
File "installer\files\tfc\scripting\stats.sma"
|
||||||
|
File "installer\files\tfc\scripting\statssounds.sma"
|
||||||
|
File "installer\files\tfc\scripting\stats_logging.sma"
|
||||||
|
File "installer\files\tfc\scripting\tfcstats.sma"
|
||||||
|
SetOutPath "$INSTDIR\files\ts\configs"
|
||||||
|
File "installer\files\ts\configs\core.ini"
|
||||||
|
File "installer\files\ts\configs\maps.ini"
|
||||||
|
File "installer\files\ts\configs\modules.ini"
|
||||||
|
File "installer\files\ts\configs\plugins.ini"
|
||||||
|
SetOutPath "$INSTDIR\files\ts\data"
|
||||||
|
File "installer\files\ts\data\tsstats.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\ts\modules"
|
||||||
|
File "installer\files\ts\modules\tsx_amxx.dll"
|
||||||
|
File "installer\files\ts\modules\tsx_amxx_amd64.so"
|
||||||
|
File "installer\files\ts\modules\tsx_amxx_i386.so"
|
||||||
|
SetOutPath "$INSTDIR\files\ts\plugins"
|
||||||
|
File "installer\files\ts\plugins\stats.amxx"
|
||||||
|
File "installer\files\ts\plugins\statssounds.amxx"
|
||||||
|
File "installer\files\ts\plugins\stats_logging.amxx"
|
||||||
|
SetOutPath "$INSTDIR\files\ts\scripting"
|
||||||
|
File "installer\files\ts\scripting\stats.sma"
|
||||||
|
File "installer\files\ts\scripting\statssounds.sma"
|
||||||
|
File "installer\files\ts\scripting\stats_logging.sma"
|
||||||
|
File "installer\files\ts\scripting\tsstats.sma"
|
||||||
|
SetOutPath "$INSTDIR\"
|
||||||
|
File "installer\gpl.txt"
|
||||||
|
|
||||||
|
; Shortcuts
|
||||||
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||||
|
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP"
|
||||||
|
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\AMX Mod X.lnk" "$INSTDIR\amxmodx.exe"
|
||||||
|
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Documentation.lnk" "$INSTDIR\files\base\doc\amxmodx-doc.chm"
|
||||||
|
CreateShortCut "$DESKTOP.lnk" "$INSTDIR\files\base\doc\amxmodx-doc.chm"
|
||||||
|
!insertmacro MUI_STARTMENU_WRITE_END
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
Section -AdditionalIcons
|
||||||
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||||
|
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
|
||||||
|
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
|
||||||
|
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"
|
||||||
|
!insertmacro MUI_STARTMENU_WRITE_END
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
Section -Post
|
||||||
|
WriteUninstaller "$INSTDIR\uninst.exe"
|
||||||
|
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\amxmodx.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\amxmodx.exe"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
|
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
|
||||||
|
SectionEnd
|
||||||
|
|
||||||
|
|
||||||
|
Function un.onUninstSuccess
|
||||||
|
HideWindow
|
||||||
|
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
Function un.onInit
|
||||||
|
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
|
||||||
|
Abort
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
|
Section Uninstall
|
||||||
|
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP
|
||||||
|
Delete "$INSTDIR\${PRODUCT_NAME}.url"
|
||||||
|
Delete "$INSTDIR\uninst.exe"
|
||||||
|
Delete "$INSTDIR\gpl.txt"
|
||||||
|
Delete "$INSTDIR\files\ts\scripting\tsstats.sma"
|
||||||
|
Delete "$INSTDIR\files\ts\scripting\stats_logging.sma"
|
||||||
|
Delete "$INSTDIR\files\ts\scripting\statssounds.sma"
|
||||||
|
Delete "$INSTDIR\files\ts\scripting\stats.sma"
|
||||||
|
Delete "$INSTDIR\files\ts\plugins\stats_logging.amxx"
|
||||||
|
Delete "$INSTDIR\files\ts\plugins\statssounds.amxx"
|
||||||
|
Delete "$INSTDIR\files\ts\plugins\stats.amxx"
|
||||||
|
Delete "$INSTDIR\files\ts\modules\tsx_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\ts\modules\tsx_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\ts\modules\tsx_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\ts\data\tsstats.amxx"
|
||||||
|
Delete "$INSTDIR\files\ts\configs\plugins.ini"
|
||||||
|
Delete "$INSTDIR\files\ts\configs\modules.ini"
|
||||||
|
Delete "$INSTDIR\files\ts\configs\maps.ini"
|
||||||
|
Delete "$INSTDIR\files\ts\configs\core.ini"
|
||||||
|
Delete "$INSTDIR\files\tfc\scripting\tfcstats.sma"
|
||||||
|
Delete "$INSTDIR\files\tfc\scripting\stats_logging.sma"
|
||||||
|
Delete "$INSTDIR\files\tfc\scripting\statssounds.sma"
|
||||||
|
Delete "$INSTDIR\files\tfc\scripting\stats.sma"
|
||||||
|
Delete "$INSTDIR\files\tfc\scripting\plmenu.sma"
|
||||||
|
Delete "$INSTDIR\files\tfc\plugins\stats_logging.amxx"
|
||||||
|
Delete "$INSTDIR\files\tfc\plugins\statssounds.amxx"
|
||||||
|
Delete "$INSTDIR\files\tfc\plugins\stats.amxx"
|
||||||
|
Delete "$INSTDIR\files\tfc\plugins\plmenu.amxx"
|
||||||
|
Delete "$INSTDIR\files\tfc\modules\tfcx_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\tfc\modules\tfcx_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\tfc\modules\tfcx_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\tfc\data\tfcstats.amxx"
|
||||||
|
Delete "$INSTDIR\files\tfc\configs\plugins.ini"
|
||||||
|
Delete "$INSTDIR\files\tfc\configs\modules.ini"
|
||||||
|
Delete "$INSTDIR\files\tfc\configs\maps.ini"
|
||||||
|
Delete "$INSTDIR\files\tfc\configs\cvars.ini"
|
||||||
|
Delete "$INSTDIR\files\tfc\configs\core.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\scripting\unstuck.sma"
|
||||||
|
Delete "$INSTDIR\files\ns\scripting\timeleft.sma"
|
||||||
|
Delete "$INSTDIR\files\ns\scripting\nscommands.sma"
|
||||||
|
Delete "$INSTDIR\files\ns\scripting\nextmap.sma"
|
||||||
|
Delete "$INSTDIR\files\ns\scripting\mapchooser.sma"
|
||||||
|
Delete "$INSTDIR\files\ns\scripting\idlekicker.sma"
|
||||||
|
Delete "$INSTDIR\files\ns\plugins\unstuck.amxx"
|
||||||
|
Delete "$INSTDIR\files\ns\plugins\timeleft.amxx"
|
||||||
|
Delete "$INSTDIR\files\ns\plugins\nscommands.amxx"
|
||||||
|
Delete "$INSTDIR\files\ns\plugins\nextmap.amxx"
|
||||||
|
Delete "$INSTDIR\files\ns\plugins\mapchooser.amxx"
|
||||||
|
Delete "$INSTDIR\files\ns\plugins\idlekicker.amxx"
|
||||||
|
Delete "$INSTDIR\files\ns\modules\ns_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\ns\modules\ns_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\ns\modules\ns_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\users.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\speech.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\plugins.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\modules.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\maps.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\cvars.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\cmds.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\clcmds.ini"
|
||||||
|
Delete "$INSTDIR\files\ns\configs\amxx.cfg"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_armory.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_command.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_gorge.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_greyalienres.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_greyhive.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_greyoc.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_hive.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_lerk.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_medpack.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_minihive.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_minimine.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_minioc.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_onos.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_pirate.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_skulk.tga"
|
||||||
|
Delete "$INSTDIR\files\ns\root\gfx\vgui\640_turret.tga"
|
||||||
|
Delete "$INSTDIR\files\dod\scripting\stats_logging.sma"
|
||||||
|
Delete "$INSTDIR\files\dod\scripting\statssounds.sma"
|
||||||
|
Delete "$INSTDIR\files\dod\scripting\stats.sma"
|
||||||
|
Delete "$INSTDIR\files\dod\scripting\plmenu.sma"
|
||||||
|
Delete "$INSTDIR\files\dod\scripting\dodstats.sma"
|
||||||
|
Delete "$INSTDIR\files\dod\plugins\stats_logging.amxx"
|
||||||
|
Delete "$INSTDIR\files\dod\plugins\statssounds.amxx"
|
||||||
|
Delete "$INSTDIR\files\dod\plugins\stats.amxx"
|
||||||
|
Delete "$INSTDIR\files\dod\plugins\plmenu.amxx"
|
||||||
|
Delete "$INSTDIR\files\dod\modules\dodx_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\dod\modules\dodx_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\dod\modules\dodx_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\dod\modules\dodfun_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\dod\modules\dodfun_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\dod\modules\dodfun_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\dod\data\dodstats.amxx"
|
||||||
|
Delete "$INSTDIR\files\dod\configs\plugins.ini"
|
||||||
|
Delete "$INSTDIR\files\dod\configs\modules.ini"
|
||||||
|
Delete "$INSTDIR\files\dod\configs\maps.ini"
|
||||||
|
Delete "$INSTDIR\files\dod\configs\cvars.ini"
|
||||||
|
Delete "$INSTDIR\files\dod\configs\core.ini"
|
||||||
|
Delete "$INSTDIR\files\cstrike\scripting\stats_logging.sma"
|
||||||
|
Delete "$INSTDIR\files\cstrike\scripting\statsx.sma"
|
||||||
|
Delete "$INSTDIR\files\cstrike\scripting\restmenu.sma"
|
||||||
|
Delete "$INSTDIR\files\cstrike\scripting\miscstats.sma"
|
||||||
|
Delete "$INSTDIR\files\cstrike\scripting\csstats.sma"
|
||||||
|
Delete "$INSTDIR\files\cstrike\plugins\stats_logging.amxx"
|
||||||
|
Delete "$INSTDIR\files\cstrike\plugins\statsx.amxx"
|
||||||
|
Delete "$INSTDIR\files\cstrike\plugins\restmenu.amxx"
|
||||||
|
Delete "$INSTDIR\files\cstrike\plugins\miscstats.amxx"
|
||||||
|
Delete "$INSTDIR\files\cstrike\modules\csx_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\cstrike\modules\csx_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\cstrike\modules\csx_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\cstrike\modules\cstrike_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\cstrike\modules\cstrike_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\cstrike\modules\cstrike_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\cstrike\data\csstats.amxx"
|
||||||
|
Delete "$INSTDIR\files\cstrike\configs\stats.ini"
|
||||||
|
Delete "$INSTDIR\files\cstrike\configs\plugins.ini"
|
||||||
|
Delete "$INSTDIR\files\cstrike\configs\modules.ini"
|
||||||
|
Delete "$INSTDIR\files\cstrike\configs\maps.ini"
|
||||||
|
Delete "$INSTDIR\files\cstrike\configs\cvars.ini"
|
||||||
|
Delete "$INSTDIR\files\cstrike\configs\core.ini"
|
||||||
|
Delete "$INSTDIR\files\cstrike\configs\cmds.ini"
|
||||||
|
Delete "$INSTDIR\files\cstrike\configs\amxx.cfg"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\timeleft.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\telemenu.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\statscfg.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\scrollmsg.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\plmenu.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\pausecfg.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\nextmap.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\multilingual.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\menufront.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\mapsmenu.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\mapchooser.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\xtrafun.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\xs.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\Vexd_Utilities.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\vault.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\tsx.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\tsstats.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\tsconst.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\tfcx.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\tfcstats.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\tfcconst.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\string.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\sockets.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\regex.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\ns_const.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\ns2amx.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\ns.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\mysql.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\lang.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\jghg2.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\geoip.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\fun.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\float.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\file.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\fakemeta_stocks.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\fakemeta_const.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\fakemeta.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\engine_stocks.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\engine_const.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\engine.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\dodx.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\dodstats.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\dodfun.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\dodconst.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\dbi.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\csx.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\cstrike.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\csstats.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\core.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\array.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\amxmodx.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\amxmod.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\amxmisc.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\include\amxconst.inc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\imessage.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\dlsym64"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\dlsym"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\compile.sh"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\compile.exe"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\cmdmenu.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\antiflood.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\amxxsc64.so"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\amxxsc64.dll"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\amxxsc32.so"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\amxxsc32.dll"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\amxxsc.exe"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\amxxsc"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\adminvote.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\adminslots.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\adminhelp.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\admincmd.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\adminchat.sma"
|
||||||
|
Delete "$INSTDIR\files\base\scripting\admin.sma"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\timeleft.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\telemenu.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\statscfg.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\scrollmsg.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\plmenu.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\pausecfg.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\nextmap.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\multilingual.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\menufront.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\mapsmenu.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\mapchooser.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\imessage.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\cmdmenu.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\antiflood.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\admin_sql.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\adminvote.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\adminslots.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\adminhelp.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\admincmd.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\adminchat.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\plugins\admin.amxx"
|
||||||
|
Delete "$INSTDIR\files\base\modules\sockets_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\sockets_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\sockets_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\regex_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\regex_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\regex_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\pgsql_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\pgsql_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\mysql_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\mysql_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\mysql_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\mssql_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\geoip_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\geoip_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\geoip_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\fun_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\fun_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\fun_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\fakemeta_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\fakemeta_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\fakemeta_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\engine_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\engine_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\engine_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\modules\array_amxx_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\array_amxx_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\modules\array_amxx.dll"
|
||||||
|
Delete "$INSTDIR\files\base\doc\amxmodx-doc.chm"
|
||||||
|
Delete "$INSTDIR\files\base\dlls\metamod_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\dlls\metamod_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\dlls\metamod.dll"
|
||||||
|
Delete "$INSTDIR\files\base\dlls\amxmodx_mm_i386.so"
|
||||||
|
Delete "$INSTDIR\files\base\dlls\amxmodx_mm_amd64.so"
|
||||||
|
Delete "$INSTDIR\files\base\dlls\amxmodx_mm.dll"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\timeleft.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\telemenu.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\stats_dod.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\statsx.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\statscfg.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\scrollmsg.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\restmenu.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\plmenu.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\pausecfg.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\nextmap.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\multilingual.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\miscstats.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\menufront.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\mapsmenu.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\mapchooser.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\languages.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\imessage.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\common.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\cmdmenu.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\antiflood.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\adminvote.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\adminslots.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\adminhelp.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\admincmd.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\adminchat.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\lang\admin.txt"
|
||||||
|
Delete "$INSTDIR\files\base\data\GeoIP.dat"
|
||||||
|
Delete "$INSTDIR\files\base\configs\users.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\sql.cfg"
|
||||||
|
Delete "$INSTDIR\files\base\configs\speech.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\plugins.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\modules.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\maps.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\cvars.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\custommenuitems.cfg"
|
||||||
|
Delete "$INSTDIR\files\base\configs\core.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\conmotd.txt"
|
||||||
|
Delete "$INSTDIR\files\base\configs\configs.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\cmds.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\clcmds.ini"
|
||||||
|
Delete "$INSTDIR\files\base\configs\amxx.cfg"
|
||||||
|
Delete "$INSTDIR\amxmodx.exe"
|
||||||
|
|
||||||
|
Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"
|
||||||
|
Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"
|
||||||
|
Delete "$DESKTOP.lnk"
|
||||||
|
Delete "$SMPROGRAMS\$ICONS_GROUP\Documentation.lnk"
|
||||||
|
Delete "$SMPROGRAMS\$ICONS_GROUP\AMX Mod X.lnk"
|
||||||
|
|
||||||
|
RMDir "$SMPROGRAMS\$ICONS_GROUP"
|
||||||
|
RMDir "$INSTDIR\files\ts\scripting"
|
||||||
|
RMDir "$INSTDIR\files\ts\plugins"
|
||||||
|
RMDir "$INSTDIR\files\ts\modules"
|
||||||
|
RMDir "$INSTDIR\files\ts\data"
|
||||||
|
RMDir "$INSTDIR\files\ts\configs"
|
||||||
|
RMDir "$INSTDIR\files\tfc\scripting"
|
||||||
|
RMDir "$INSTDIR\files\tfc\plugins"
|
||||||
|
RMDir "$INSTDIR\files\tfc\modules"
|
||||||
|
RMDir "$INSTDIR\files\tfc\data"
|
||||||
|
RMDir "$INSTDIR\files\tfc\configs"
|
||||||
|
RMDir "$INSTDIR\files\ns\scripting"
|
||||||
|
RMDir "$INSTDIR\files\ns\plugins"
|
||||||
|
RMDir "$INSTDIR\files\ns\modules"
|
||||||
|
RMDir "$INSTDIR\files\ns\configs"
|
||||||
|
RMDir "$INSTDIR\files\dod\scripting"
|
||||||
|
RMDir "$INSTDIR\files\dod\plugins"
|
||||||
|
RMDir "$INSTDIR\files\dod\modules"
|
||||||
|
RMDir "$INSTDIR\files\dod\data"
|
||||||
|
RMDir "$INSTDIR\files\dod\configs"
|
||||||
|
RMDir "$INSTDIR\files\cstrike\scripting"
|
||||||
|
RMDir "$INSTDIR\files\cstrike\plugins"
|
||||||
|
RMDir "$INSTDIR\files\cstrike\modules"
|
||||||
|
RMDir "$INSTDIR\files\cstrike\data"
|
||||||
|
RMDir "$INSTDIR\files\cstrike\configs"
|
||||||
|
RMDir "$INSTDIR\files\base\scripting\include"
|
||||||
|
RMDir "$INSTDIR\files\base\scripting"
|
||||||
|
RMDir "$INSTDIR\files\base\plugins"
|
||||||
|
RMDir "$INSTDIR\files\base\modules"
|
||||||
|
RMDir "$INSTDIR\files\base\doc"
|
||||||
|
RMDir "$INSTDIR\files\base\dlls"
|
||||||
|
RMDir "$INSTDIR\files\base\data\lang"
|
||||||
|
RMDir "$INSTDIR\files\base\data"
|
||||||
|
RMDir "$INSTDIR\files\base\configs"
|
||||||
|
RMDir /r "$INSTDIR"
|
||||||
|
RMDir ""
|
||||||
|
|
||||||
|
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
|
||||||
|
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
|
||||||
|
SetAutoClose true
|
||||||
|
SectionEnd
|
@ -236,6 +236,7 @@ public cmdReload(id,level,cid) {
|
|||||||
console_print(id,"[AMXX] %L", LANG_SERVER, "LOADED_ADMINS", g_aNum )
|
console_print(id,"[AMXX] %L", LANG_SERVER, "LOADED_ADMINS", g_aNum )
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
g_aNum = 0
|
||||||
adminSql()
|
adminSql()
|
||||||
|
|
||||||
if (id != 0) {
|
if (id != 0) {
|
||||||
|
@ -353,8 +353,12 @@ public cmdMap(id,level,cid) {
|
|||||||
case 1: client_print(0,print_chat,"%L",LANG_PLAYER,"ADMIN_MAP_1",arg)
|
case 1: client_print(0,print_chat,"%L",LANG_PLAYER,"ADMIN_MAP_1",arg)
|
||||||
}
|
}
|
||||||
log_amx("Cmd: ^"%s<%d><%s><>^" changelevel ^"%s^"", name,get_user_userid(id),authid, arg)
|
log_amx("Cmd: ^"%s<%d><%s><>^" changelevel ^"%s^"", name,get_user_userid(id),authid, arg)
|
||||||
|
new _modName[10]
|
||||||
|
get_modname(_modName,9)
|
||||||
|
if (!equal(_modName,"zp")) {
|
||||||
message_begin(MSG_ALL, SVC_INTERMISSION)
|
message_begin(MSG_ALL, SVC_INTERMISSION)
|
||||||
message_end()
|
message_end()
|
||||||
|
}
|
||||||
set_task(2.0,"chMap",0,arg,arglen+1)
|
set_task(2.0,"chMap",0,arg,arglen+1)
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
}
|
}
|
||||||
|
BIN
plugins/amxxsc
BIN
plugins/amxxsc
Binary file not shown.
Binary file not shown.
@ -251,7 +251,7 @@ public client_death(killer,victim,wpnindex,hitplace,TK) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( EnemyRemaining ) {
|
if ( EnemyRemaining ) {
|
||||||
new ppl[32], pplnum
|
new ppl[32], pplnum = 0
|
||||||
new team = get_user_team( victim ) - 1
|
new team = get_user_team( victim ) - 1
|
||||||
if ( team >= 0 && team < 4 )
|
if ( team >= 0 && team < 4 )
|
||||||
get_players(ppl,pplnum,"e", g_teamsNames[1 - team] )
|
get_players(ppl,pplnum,"e", g_teamsNames[1 - team] )
|
||||||
|
@ -20,7 +20,14 @@
|
|||||||
|
|
||||||
#include <amxmodx>
|
#include <amxmodx>
|
||||||
|
|
||||||
public get_score(stats[9],body[8])
|
#define KILLS stats[0]
|
||||||
{
|
#define DEATHS stats[1]
|
||||||
return stats[0] - stats[1] - stats[3] /* kills - deaths - TKs */
|
#define TK stats[3]
|
||||||
|
#define SCORE stats[7]
|
||||||
|
|
||||||
|
public get_score(stats[9],body[8]){
|
||||||
|
if (!DEATHS)
|
||||||
|
DEATHS = 1
|
||||||
|
|
||||||
|
return (KILLS-DEATHS-TK)*KILLS/DEATHS
|
||||||
}
|
}
|
@ -159,7 +159,7 @@ new g_addStast[] = "amx_statscfg add ^"%s^" %s"
|
|||||||
new g_disabledMsg[] = "DISABLED_MSG"
|
new g_disabledMsg[] = "DISABLED_MSG"
|
||||||
|
|
||||||
public plugin_init() {
|
public plugin_init() {
|
||||||
register_plugin("DoD Stats","0.20dod","SidLuke")
|
register_plugin("DoD Stats",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
|
|
||||||
register_dictionary("common.txt")
|
register_dictionary("common.txt")
|
||||||
register_dictionary("stats_dod.txt")
|
register_dictionary("stats_dod.txt")
|
||||||
|
@ -12,7 +12,7 @@ new g_pingSum[33]
|
|||||||
new g_pingCount[33]
|
new g_pingCount[33]
|
||||||
|
|
||||||
public plugin_init()
|
public plugin_init()
|
||||||
register_plugin("Stats Logging","0.20dod","AMXX Dev Team")
|
register_plugin("Stats Logging",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
|
|
||||||
public client_disconnect(id) {
|
public client_disconnect(id) {
|
||||||
if ( is_user_bot( id ) || !isDSMActive() ) return PLUGIN_CONTINUE
|
if ( is_user_bot( id ) || !isDSMActive() ) return PLUGIN_CONTINUE
|
||||||
|
@ -25,5 +25,5 @@ public plugin_precache(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
public plugin_init() {
|
public plugin_init() {
|
||||||
register_plugin("DoD Sounds Precache","0.20dod","SidLuke")
|
register_plugin("DoD Sounds Precache",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
}
|
}
|
@ -11,8 +11,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#define _amxconst_included
|
#define _amxconst_included
|
||||||
|
|
||||||
#define AMXX_VERSION 0.2
|
#define AMXX_VERSION 1.0
|
||||||
stock const AMXX_VERSION_STR[]="0.20"
|
stock const AMXX_VERSION_STR[]="1.00"
|
||||||
|
|
||||||
#define ADMIN_ALL 0 /* everyone */
|
#define ADMIN_ALL 0 /* everyone */
|
||||||
#define ADMIN_IMMUNITY (1<<0) /* flag "a" */
|
#define ADMIN_IMMUNITY (1<<0) /* flag "a" */
|
||||||
|
@ -181,3 +181,32 @@ stock AddMenuItem(const MENU_TEXT[], const MENU_CMD[], const MENU_ACCESS, const
|
|||||||
|
|
||||||
callfunc_end()
|
callfunc_end()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Find plugin by an attribute */
|
||||||
|
stock find_plugin_byfile(pname[], bool:ignorecase=true)
|
||||||
|
{
|
||||||
|
new num_of_plugins = get_pluginsnum();
|
||||||
|
new dummy[1];
|
||||||
|
new name[64];
|
||||||
|
for (new i = 0; i < num_of_plugins; ++i)
|
||||||
|
{
|
||||||
|
get_plugin(i, name, 0, dummy, 63, dummy, 0, dummy, 0, dummy, 0);
|
||||||
|
if (ignorecase ? equali(name, pname) : equal(name, pname))
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
stock find_plugin_bydesc(pdesc[], bool:ignorecase=true)
|
||||||
|
{
|
||||||
|
new num_of_plugins = get_pluginsnum();
|
||||||
|
new dummy[1];
|
||||||
|
new desc[64];
|
||||||
|
for (new i = 0; i < num_of_plugins; ++i)
|
||||||
|
{
|
||||||
|
get_plugin(i, dummy, 0, desc, 63, dummy, 0, dummy, 0, dummy, 0);
|
||||||
|
if (ignorecase ? equali(desc, pdesc) : equal(desc, pdesc))
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
@ -37,7 +37,7 @@ forward plugin_cfg();
|
|||||||
forward plugin_end();
|
forward plugin_end();
|
||||||
|
|
||||||
/* Function called to handle changelevel */
|
/* Function called to handle changelevel */
|
||||||
forward server_changelevel(MapName[]);
|
forward server_changelevel(map[]);
|
||||||
|
|
||||||
/* Called on log message. */
|
/* Called on log message. */
|
||||||
forward plugin_log();
|
forward plugin_log();
|
||||||
@ -91,16 +91,16 @@ native get_localinfo(const info[],output[],len);
|
|||||||
native show_motd(player,const message[],const header[]="");
|
native show_motd(player,const message[],const header[]="");
|
||||||
|
|
||||||
/* Sends message to player. Set index to 0 to send text globaly. */
|
/* Sends message to player. Set index to 0 to send text globaly. */
|
||||||
native client_print(index,type,const message[],{Float,Sql,Result,Regex,_}:...);
|
native client_print(index,type,const message[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Sends message to player by engine. Set index to 0 to send text globaly. */
|
/* Sends message to player by engine. Set index to 0 to send text globaly. */
|
||||||
native engclient_print(player,type,const message[],{Float,Sql,Result,Regex,_}:...);
|
native engclient_print(player,type,const message[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Sends message to console. */
|
/* Sends message to console. */
|
||||||
native console_print(id,const message[],{Float,Sql,Result,Regex,_}:...);
|
native console_print(id,const message[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Sends command to console. */
|
/* Sends command to console. */
|
||||||
native console_cmd(id,const cmd[],{Float,Sql,Result,Regex,_}:...);
|
native console_cmd(id,const cmd[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Registers event on which a given function will be called
|
/* Registers event on which a given function will be called
|
||||||
* Flags:
|
* Flags:
|
||||||
@ -131,7 +131,7 @@ native register_logevent(const function[], argsnum, ... );
|
|||||||
native set_hudmessage(red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2,channel=4);
|
native set_hudmessage(red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2,channel=4);
|
||||||
|
|
||||||
/* Displays HUD message to given player. */
|
/* Displays HUD message to given player. */
|
||||||
native show_hudmessage(index,const message[],{Float,Sql,Result,Regex,_}:...);
|
native show_hudmessage(index,const message[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Displays menu. Keys have bit values (key 1 is (1<<0), key 5 is (1<<4) etc.). */
|
/* Displays menu. Keys have bit values (key 1 is (1<<0), key 5 is (1<<4) etc.). */
|
||||||
native show_menu(index,keys,const menu[], time = -1, title[] = "");
|
native show_menu(index,keys,const menu[], time = -1, title[] = "");
|
||||||
@ -140,7 +140,7 @@ native show_menu(index,keys,const menu[], time = -1, title[] = "");
|
|||||||
* When you are asking for string the array and length is needed (read_data(2,name,len)).
|
* When you are asking for string the array and length is needed (read_data(2,name,len)).
|
||||||
* Integer is returned by function (new me = read_data(3)).
|
* Integer is returned by function (new me = read_data(3)).
|
||||||
* Float is set in second parameter (read_data(3,value)). */
|
* Float is set in second parameter (read_data(3,value)). */
|
||||||
native read_data(value, {Float,Sql,Result,Regex,_}:... );
|
native read_data(value, {Float,Sql,Result,_}:... );
|
||||||
|
|
||||||
/* Returns number of values in client message. */
|
/* Returns number of values in client message. */
|
||||||
native read_datanum();
|
native read_datanum();
|
||||||
@ -161,7 +161,7 @@ native parse_loguser(const text[], name[], nlen, &userid = -2, authid[] = "", al
|
|||||||
|
|
||||||
/* Prints message to server console.
|
/* Prints message to server console.
|
||||||
* You may use text formating (f.e. server_print("%-32s %.2f!","hello",7.345)) */
|
* You may use text formating (f.e. server_print("%-32s %.2f!","hello",7.345)) */
|
||||||
native server_print(const message[], {Float,Sql,Result,Regex,_}:...);
|
native server_print(const message[], {Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Returns 1 or 0. */
|
/* Returns 1 or 0. */
|
||||||
native is_map_valid(const mapname[]);
|
native is_map_valid(const mapname[]);
|
||||||
@ -187,9 +187,6 @@ native is_dedicated_server();
|
|||||||
/* Returns 1 or 0. */
|
/* Returns 1 or 0. */
|
||||||
native is_linux_server();
|
native is_linux_server();
|
||||||
|
|
||||||
/* Returns 1 or 0. */
|
|
||||||
native is_amd64_server();
|
|
||||||
|
|
||||||
/* Returns 1 or 0. */
|
/* Returns 1 or 0. */
|
||||||
native is_jit_enabled();
|
native is_jit_enabled();
|
||||||
|
|
||||||
@ -289,13 +286,13 @@ native user_kill(index,flag=0);
|
|||||||
* ... - optional parameters
|
* ... - optional parameters
|
||||||
* Return value:
|
* Return value:
|
||||||
* always 0 */
|
* always 0 */
|
||||||
native log_amx(const string[], {Float,Sql,Result,Regex,_}:...);
|
native log_amx(const string[], {Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Sends message to standard HL logs. */
|
/* Sends message to standard HL logs. */
|
||||||
native log_message(const message[],{Float,Sql,Result,Regex,_}:...);
|
native log_message(const message[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Sends log message to specified file. */
|
/* Sends log message to specified file. */
|
||||||
native log_to_file(const file[],const message[],{Float,Sql,Result,Regex,_}:...);
|
native log_to_file(const file[],const message[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Returns number of players put in server.
|
/* Returns number of players put in server.
|
||||||
* If flag is set then also connecting are counted. */
|
* If flag is set then also connecting are counted. */
|
||||||
@ -350,7 +347,7 @@ native find_player(const flags[], ... );
|
|||||||
native remove_quotes(text[]);
|
native remove_quotes(text[]);
|
||||||
|
|
||||||
/* Executes command on player. */
|
/* Executes command on player. */
|
||||||
native client_cmd(index,const command[],{Float,Sql,Result,Regex,_}:...);
|
native client_cmd(index,const command[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* This is an emulation of a client command (commands aren't send to client!).
|
/* This is an emulation of a client command (commands aren't send to client!).
|
||||||
* It allows to execute some commands on players and bots.
|
* It allows to execute some commands on players and bots.
|
||||||
@ -359,7 +356,7 @@ native client_cmd(index,const command[],{Float,Sql,Result,Regex,_}:...);
|
|||||||
native engclient_cmd(index,const command[],arg1[]="",arg2[]="");
|
native engclient_cmd(index,const command[],arg1[]="",arg2[]="");
|
||||||
|
|
||||||
/* Executes command on a server console. */
|
/* Executes command on a server console. */
|
||||||
native server_cmd(const command[],{Float,Sql,Result,Regex,_}:...);
|
native server_cmd(const command[],{Float,Sql,Result,_}:...);
|
||||||
|
|
||||||
/* Sets a cvar to given value. */
|
/* Sets a cvar to given value. */
|
||||||
native set_cvar_string(const cvar[],const value[]);
|
native set_cvar_string(const cvar[],const value[]);
|
||||||
@ -656,8 +653,10 @@ native md5_file(const file[], md5buffer[34]);
|
|||||||
/* Returns the internal flags set on the called bytecode structure - Do not use */
|
/* Returns the internal flags set on the called bytecode structure - Do not use */
|
||||||
native plugin_flags();
|
native plugin_flags();
|
||||||
|
|
||||||
|
/* When using modules that aren't part of AMX Mod X base package, do
|
||||||
|
* a require_module("modulename") for each of them within the plugin_modules()
|
||||||
|
* forward. Module name is the one listed when doing "amxx modules" in server
|
||||||
|
* console. */
|
||||||
forward plugin_modules();
|
forward plugin_modules();
|
||||||
|
|
||||||
native require_module(const module[]);
|
native require_module(const module[]);
|
||||||
|
|
||||||
native lang_phrase(lang_mode, const phrase[], buffer[], maxLen);
|
|
@ -258,3 +258,8 @@ stock list_pop_int(list_id) {
|
|||||||
stock list_pop_string(list_id) {
|
stock list_pop_string(list_id) {
|
||||||
return list_pop(list_id, list_string)
|
return list_pop(list_id, list_string)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Check if an item is in a list
|
||||||
|
native in_list_string(list_id, const str[]);
|
||||||
|
native in_list_float(list_id, Float:num);
|
||||||
|
native in_list_int(list_id, num);
|
@ -259,7 +259,7 @@ stock get_user_velocity(entity, Float:vec[3])
|
|||||||
/* Backwards compatible */
|
/* Backwards compatible */
|
||||||
/* Hurts/Kills players in a sphere, like an explosion, Multiplier determines damage. */
|
/* Hurts/Kills players in a sphere, like an explosion, Multiplier determines damage. */
|
||||||
stock RadiusDamage(Float:fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier) {
|
stock RadiusDamage(Float:fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier) {
|
||||||
return radius_damage(fExplodeAt[3], iDamageMultiplier, iRadiusMultiplier)
|
return radius_damage(fExplodeAt, iDamageMultiplier, iRadiusMultiplier)
|
||||||
}
|
}
|
||||||
/* Gives you a velocity in the direction a player is looking, iVelocity is the multiplier. */
|
/* Gives you a velocity in the direction a player is looking, iVelocity is the multiplier. */
|
||||||
stock VelocityByAim(iIndex,iVelocity, Float:vRetValue[3]) {
|
stock VelocityByAim(iIndex,iVelocity, Float:vRetValue[3]) {
|
||||||
|
251
plugins/include/fakemeta_stocks.inc
Executable file
251
plugins/include/fakemeta_stocks.inc
Executable file
@ -0,0 +1,251 @@
|
|||||||
|
/* Fakemeta stocks
|
||||||
|
*
|
||||||
|
* by the AMX Mod X Development Team
|
||||||
|
*
|
||||||
|
* This file is provided as is (no warranties).
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if !defined _fakemeta_included
|
||||||
|
#include <fakemeta>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined _fakemeta_stocks_included
|
||||||
|
#endinput
|
||||||
|
#endif
|
||||||
|
#define _fakemeta_stocks_included
|
||||||
|
|
||||||
|
// EngFuncs
|
||||||
|
stock EF_PrecacheModel(string[])
|
||||||
|
return engfunc(EngFunc_PrecacheModel, string)
|
||||||
|
stock EF_PrecacheSound(string[])
|
||||||
|
return engfunc(EngFunc_PrecacheSound, string)
|
||||||
|
stock EF_SetModel(const ID, const STRING[])
|
||||||
|
return engfunc(EngFunc_SetModel, ID, STRING)
|
||||||
|
stock EF_ModelIndex(const STRING[])
|
||||||
|
return engfunc(EngFunc_ModelIndex, STRING)
|
||||||
|
stock EF_ModelFrames(modelIndex)
|
||||||
|
return engfunc(EngFunc_ModelFrames, modelIndex)
|
||||||
|
|
||||||
|
stock EF_SetSize(const STRING[])
|
||||||
|
return engfunc(EngFunc_SetSize, STRING)
|
||||||
|
stock EF_ChangeLevel(const S1[], const S2[])
|
||||||
|
return engfunc(EngFunc_ChangeLevel, S1, S2)
|
||||||
|
stock EF_VecToYaw(const Float:VECTOR[3], &Float:returnValue)
|
||||||
|
return engfunc(EngFunc_VecToYaw, VECTOR, returnValue)
|
||||||
|
stock EF_VecToAngles(const Float:VECTORIN[3], const Float:VECTOROUT[3])
|
||||||
|
return engfunc(EngFunc_VecToAngles, VECTORIN, VECTOROUT)
|
||||||
|
stock EF_MoveToOrigin(const ENTITY, const Float:GOAL[3], const Float:DISTANCE, const MOVETYPE)
|
||||||
|
return engfunc(EngFunc_MoveToOrigin, ENTITY, GOAL, DISTANCE, MOVETYPE)
|
||||||
|
|
||||||
|
stock EF_ChangeYaw(const ENTITY)
|
||||||
|
return engfunc(EngFunc_ChangeYaw, ENTITY)
|
||||||
|
stock EF_ChangePitch(const ENTITY)
|
||||||
|
return engfunc(EngFunc_ChangePitch, ENTITY)
|
||||||
|
stock EF_FindEntityByString(const STARTSEARCHAFTER, const FIELD[], const VALUE[])
|
||||||
|
return engfunc(EngFunc_FindEntityByString, STARTSEARCHAFTER, FIELD, VALUE)
|
||||||
|
stock EF_GetEntityIllum(const ENTITY)
|
||||||
|
return engfunc(EngFunc_GetEntityIllum, ENTITY)
|
||||||
|
stock EF_FindEntityInSphere(const STARTSEARCHAFTER, const Float:ORIGIN[3], Float:radius)
|
||||||
|
return engfunc(EngFunc_FindEntityInSphere, STARTSEARCHAFTER, ORIGIN, radius)
|
||||||
|
|
||||||
|
stock EF_FindClientInPVS(const CLIENT)
|
||||||
|
return engfunc(EngFunc_FindClientInPVS, CLIENT)
|
||||||
|
stock EF_EntitiesInPVS(const CLIENT)
|
||||||
|
return engfunc(EngFunc_EntitiesInPVS, CLIENT)
|
||||||
|
stock EF_MakeVectors(const Float:VECTOR[3])
|
||||||
|
return engfunc(EngFunc_MakeVectors, VECTOR)
|
||||||
|
stock EF_AngleVectors(const Float:VECTOR[3], Float:forward_[3], Float:right[3], Float:up[3])
|
||||||
|
return engfunc(EngFunc_AngleVectors, VECTOR, forward_, right, up)
|
||||||
|
stock EF_CreateEntity()
|
||||||
|
return engfunc(EngFunc_CreateEntity)
|
||||||
|
|
||||||
|
stock EF_RemoveEntity(const ENTITY)
|
||||||
|
return engfunc(EngFunc_RemoveEntity, ENTITY)
|
||||||
|
stock EF_CreateNamedEntity(const CLASSNAME)
|
||||||
|
return engfunc(EngFunc_CreateNamedEntity, CLASSNAME)
|
||||||
|
stock EF_MakeStatic(const ENTITY)
|
||||||
|
return engfunc(EngFunc_MakeStatic, ENTITY)
|
||||||
|
stock EF_EntIsOnFloor(const ENTITY)
|
||||||
|
return engfunc(EngFunc_EntIsOnFloor, ENTITY)
|
||||||
|
stock EF_DropToFloor(const ENTITY)
|
||||||
|
return engfunc(EngFunc_DropToFloor, ENTITY)
|
||||||
|
|
||||||
|
stock EF_WalkMove(const ENTITY, Float:yaw, Float:distance, iMode)
|
||||||
|
return engfunc(EngFunc_WalkMove, ENTITY, yaw, distance, iMode)
|
||||||
|
stock EF_SetOrigin(const ENTITY, const Float:ORIGIN[3])
|
||||||
|
return engfunc(EngFunc_SetOrigin, ENTITY, ORIGIN)
|
||||||
|
stock EF_EmitSound(const ENTITY, channel, const SAMPLE[], Float:volume, Float:attenuation, fFlags, pitch)
|
||||||
|
return engfunc(EngFunc_EmitSound, ENTITY, channel, SAMPLE, volume, attenuation, fFlags, pitch)
|
||||||
|
stock EF_EmitAmbientSound(const ENTITY, Float:pos[3], const SAMPLE[], Float:volume, Float:attenuation, fFlags, pitch)
|
||||||
|
return engfunc(EngFunc_EmitAmbientSound, ENTITY, pos, SAMPLE, volume, attenuation, fFlags, pitch)
|
||||||
|
stock EF_TraceLine(const Float:V1[3], const Float:V2[3], fNoMonsters, const ENT_TO_SKIP)
|
||||||
|
return engfunc(EngFunc_TraceLine, V1, V2, fNoMonsters, ENT_TO_SKIP)
|
||||||
|
|
||||||
|
stock EF_TraceToss(const ENTITY, const ENTITY_TO_IGNORE)
|
||||||
|
return engfunc(EngFunc_TraceToss, ENTITY, ENTITY_TO_IGNORE)
|
||||||
|
stock EF_TraceMonsterHull(const ENTITY, const Float:V1[3], const Float:V2[3], fNoMonsters, const ENTITY_TO_SKIP)
|
||||||
|
return engfunc(EngFunc_TraceMonsterHull, ENTITY, V1, V2, fNoMonsters, ENTITY_TO_SKIP)
|
||||||
|
stock EF_TraceHull(const Float:V1[3], const Float:V2[3], fNoMonsters, hullNumber, const ENTITY_TO_SKIP)
|
||||||
|
return engfunc(EngFunc_TraceHull, V1, V2, fNoMonsters, hullNumber, ENTITY_TO_SKIP)
|
||||||
|
stock EF_TraceModel(const Float:V1[3], const Float:V2[3], hullNumber, const ENTITY)
|
||||||
|
return engfunc(EngFunc_TraceModel, V1, V2, hullNumber, ENTITY)
|
||||||
|
stock EF_TraceTexture(const TEXTURE_ENTITY, const Float:V1[3], const Float:V2[3])
|
||||||
|
return engfunc(EngFunc_TraceTexture, TEXTURE_ENTITY, V1, V2)
|
||||||
|
|
||||||
|
stock EF_TraceSphere(const Float:V1[3], const Float:V2[3], fNoMonsters, Float:radius, const ENTITY_TO_SKIP)
|
||||||
|
return engfunc(EngFunc_TraceSphere, V1, V2, fNoMonsters, radius, ENTITY_TO_SKIP)
|
||||||
|
stock EF_GetAimVector(const ENTITY, Float:speed, Float:returnVector[3])
|
||||||
|
return engfunc(EngFunc_GetAimVector, ENTITY, speed, returnVector)
|
||||||
|
stock EF_ParticleEffect(const Float:ORIGIN[3], const Float:DIRECTION[3], Float:color, Float:count)
|
||||||
|
return engfunc(EngFunc_ParticleEffect, ORIGIN, DIRECTION, color, count)
|
||||||
|
stock EF_LightStyle(style, val[])
|
||||||
|
return engfunc(EngFunc_LightStyle, style, val)
|
||||||
|
stock EF_DecalIndex(const NAME[])
|
||||||
|
return engfunc(EngFunc_DecalIndex, NAME)
|
||||||
|
|
||||||
|
stock EF_PointContents(const Float:VECTOR[3])
|
||||||
|
return engfunc(EngFunc_PointContents, VECTOR)
|
||||||
|
stock EF_FreeEntPrivateData(const ENTITY)
|
||||||
|
return engfunc(EngFunc_FreeEntPrivateData, ENTITY)
|
||||||
|
stock EF_SzFromIndex(iString)
|
||||||
|
return engfunc(EngFunc_SzFromIndex, iString)
|
||||||
|
stock EF_AllocString(const STRING[])
|
||||||
|
return engfunc(EngFunc_AllocString, STRING)
|
||||||
|
stock EF_RegUserMsg(const NAME[], iSize)
|
||||||
|
return engfunc(EngFunc_RegUserMsg, NAME, iSize)
|
||||||
|
|
||||||
|
stock EF_AnimationAutomove(const ENTITY, Float:flTime)
|
||||||
|
return engfunc(EngFunc_AnimationAutomove, ENTITY, flTime)
|
||||||
|
stock EF_GetBonePosition(const ENTITY, iBone, Float:origin[3], Float:angles[3])
|
||||||
|
return engfunc(EngFunc_GetBonePosition, ENTITY, iBone, origin, angles)
|
||||||
|
stock EF_GetAttachment(const ENTITY, iAttachment, Float:origin[3], Float:angles[3])
|
||||||
|
return engfunc(EngFunc_GetAttachment, ENTITY, iAttachment, origin, angles)
|
||||||
|
stock EF_SetView(const CLIENT, const VIEW_ENTITY)
|
||||||
|
return engfunc(EngFunc_SetView, CLIENT, VIEW_ENTITY)
|
||||||
|
stock EF_Time(&Float:returnValue)
|
||||||
|
return engfunc(EngFunc_Time, returnValue)
|
||||||
|
|
||||||
|
stock EF_CrosshairAngle(const CLIENT, Float:pitch, Float:yaw)
|
||||||
|
return engfunc(EngFunc_CrosshairAngle, CLIENT, pitch, yaw)
|
||||||
|
stock EF_FadeClientVolume(const ENTITY, fadePercent, fadeOutSeconds, holdTime, fadeInSeconds)
|
||||||
|
return engfunc(EngFunc_FadeClientVolume, ENTITY, fadePercent, fadeOutSeconds, holdTime, fadeInSeconds)
|
||||||
|
stock EF_SetClientMaxspeed(const ENTITY, Float:newMaxspeed)
|
||||||
|
return engfunc(EngFunc_SetClientMaxspeed, ENTITY, newMaxspeed)
|
||||||
|
stock EF_CreateFakeClient(const NETNAME[])
|
||||||
|
return engfunc(EngFunc_CreateFakeClient, NETNAME)
|
||||||
|
stock EF_RunPlayerMove(const FAKECLIENT, const Float:VIEWANGLES[3], Float:forwardmove, Float:sidemove, Float:upmove, buttons, impulse, msec)
|
||||||
|
return engfunc(EngFunc_RunPlayerMove, FAKECLIENT, VIEWANGLES, forwardmove, sidemove, upmove, buttons, impulse, msec)
|
||||||
|
|
||||||
|
stock EF_NumberOfEntities()
|
||||||
|
return engfunc(EngFunc_NumberOfEntities)
|
||||||
|
stock EF_StaticDecal(const Float:ORIGIN[3], decalIndex, entityIndex, modelIndex)
|
||||||
|
return engfunc(EngFunc_StaticDecal, ORIGIN, decalIndex, entityIndex, modelIndex)
|
||||||
|
stock EF_PrecacheGeneric(const STRING[])
|
||||||
|
return engfunc(EngFunc_PrecacheGeneric, STRING)
|
||||||
|
stock EF_BuildSoundMSG(const ENTITY, channel, const SAMPLE[], Float:volume, Float:attenuation, fFlags, pitch, msg_dest, msg_type, const Float:ORIGIN[3], const ED)
|
||||||
|
return engfunc(EngFunc_BuildSoundMsg, ENTITY, channel, SAMPLE, volume, attenuation, fFlags, pitch, msg_dest, msg_type, ORIGIN, ED)
|
||||||
|
stock EF_GetPhysicsKeyValue(const CLIENT, const KEY[])
|
||||||
|
return engfunc(EngFunc_GetPhysicsKeyValue, CLIENT, KEY)
|
||||||
|
|
||||||
|
stock EF_SetPhysicsKeyValue(const CLIENT, const KEY[], const VALUE[])
|
||||||
|
return engfunc(EngFunc_SetPhysicsKeyValue, CLIENT, KEY, VALUE)
|
||||||
|
stock EF_GetPhysicsInfoString(const CLIENT, returnString[], maxLength)
|
||||||
|
return engfunc(EngFunc_GetPhysicsInfoString, CLIENT, returnString, maxLength)
|
||||||
|
stock EF_PrecacheEvent(type, const STRING[])
|
||||||
|
return engfunc(EngFunc_PrecacheEvent, type, STRING)
|
||||||
|
stock EF_PlaybackEvent(flags, const INVOKER, eventindex, Float:delay, Float:origin[3], Float:angles[3], Float:fparam1, Float:fparam2, iparam1, iparam2, bparam1, bparam2)
|
||||||
|
return engfunc(EngFunc_PlaybackEvent, flags, INVOKER, eventindex, delay, origin, angles, fparam1, fparam2, iparam1, iparam2, bparam1, bparam2)
|
||||||
|
stock EF_CheckVisibility(const ENTITY, set[])
|
||||||
|
return engfunc(EngFunc_CheckVisibility, ENTITY, set)
|
||||||
|
|
||||||
|
stock EF_GetCurrentPlayer()
|
||||||
|
return engfunc(EngFunc_GetCurrentPlayer)
|
||||||
|
stock EF_CanSkipPlayer(const PLAYER)
|
||||||
|
return engfunc(EngFunc_CanSkipPlayer, PLAYER)
|
||||||
|
stock EF_SetGroupMask(mask, op)
|
||||||
|
return engfunc(EngFunc_SetGroupMask, mask, op)
|
||||||
|
stock EF_GetClientListening(receiver, sender)
|
||||||
|
return engfunc(EngFunc_GetClientListening, receiver, sender);
|
||||||
|
stock EF_SetClientListening(receiver, sender, bool:listen)
|
||||||
|
return engfunc(EngFunc_SetClientListening, receiver, sender, listen);
|
||||||
|
|
||||||
|
stock EF_MessageBegin(msg_dest, msg_type, const Float:ORIGIN[3], const ED)
|
||||||
|
return engfunc(EngFunc_MessageBegin, msg_dest, msg_type, ORIGIN, ED)
|
||||||
|
stock EF_WriteCoord(Float:value)
|
||||||
|
return engfunc(EngFunc_WriteCoord, value)
|
||||||
|
stock EF_WriteAngle(Float:value)
|
||||||
|
return engfunc(EngFunc_WriteAngle, value)
|
||||||
|
stock EF_InfoKeyValue(const CLIENT, const KEY[], returnValue[], maxLength)
|
||||||
|
return engfunc(EngFunc_InfoKeyValue, CLIENT, KEY, returnValue, maxLength)
|
||||||
|
stock EF_SetKeyValue(const BUFFER[], const KEY[], const VALUE[])
|
||||||
|
return engfunc(EngFunc_SetKeyValue, BUFFER, KEY, VALUE)
|
||||||
|
|
||||||
|
stock EF_SetClientKeyValue(const ID, const KEY[], const VALUE[])
|
||||||
|
return engfunc(EngFunc_SetClientKeyValue, ID, KEY, VALUE)
|
||||||
|
|
||||||
|
// DLLFuncs
|
||||||
|
stock DF_GameInit()
|
||||||
|
return dllfunc(DLLFunc_GameInit)
|
||||||
|
stock DF_Spawn(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_Spawn, ENTITY)
|
||||||
|
stock DF_Think(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_Think, ENTITY)
|
||||||
|
stock DF_Use(const ENT_Used, const ENT_Other)
|
||||||
|
return dllfunc(DLLFunc_Use, ENT_Used, ENT_Other)
|
||||||
|
stock DF_Touch(const ENT_Touched, const ENT_Other)
|
||||||
|
return dllfunc(DLLFunc_Touch, ENT_Touched, ENT_Other)
|
||||||
|
|
||||||
|
stock DF_Blocked(const ENT_Blocked, const ENT_Other)
|
||||||
|
return dllfunc(DLLFunc_Blocked, ENT_Blocked, ENT_Other)
|
||||||
|
stock DF_SetAbsBox(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_SetAbsBox, ENTITY)
|
||||||
|
stock DF_ClientConnect(const ENTITY, const NAME[], const ADDRESS[], RejectReason[128])
|
||||||
|
return dllfunc(DLLFunc_ClientConnect, ENTITY, NAME, ADDRESS, RejectReason)
|
||||||
|
stock DF_ClientDisconnect(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_ClientDisconnect, ENTITY)
|
||||||
|
stock DF_ClientKill(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_ClientKill, ENTITY)
|
||||||
|
|
||||||
|
stock DF_ClientPutInServer(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_ClientPutInServer, ENTITY)
|
||||||
|
stock DF_ClientCommand(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_ClientCommand, ENTITY)
|
||||||
|
stock DF_ServerDeactivate()
|
||||||
|
return dllfunc(DLLFunc_ServerDeactivate)
|
||||||
|
stock DF_PlayerPreThink(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_PlayerPreThink, ENTITY)
|
||||||
|
stock DF_PlayerPostThink(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_PlayerPostThink, ENTITY)
|
||||||
|
|
||||||
|
stock DF_StartFrame()
|
||||||
|
return dllfunc(DLLFunc_StartFrame)
|
||||||
|
stock DF_ParmsNewLevel()
|
||||||
|
return dllfunc(DLLFunc_ParmsNewLevel)
|
||||||
|
stock DF_ParmsChangeLevel()
|
||||||
|
return dllfunc(DLLFunc_ParmsChangeLevel)
|
||||||
|
stock DF_GetGameDescription()
|
||||||
|
return dllfunc(DLLFunc_GetGameDescription)
|
||||||
|
stock DF_SpectatorConnect(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_SpectatorConnect, ENTITY)
|
||||||
|
|
||||||
|
stock DF_SpectatorDisconnect(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_SpectatorDisconnect, ENTITY)
|
||||||
|
stock DF_SpectatorThink(const ENTITY)
|
||||||
|
return dllfunc(DLLFunc_SpectatorThink, ENTITY)
|
||||||
|
stock DF_Sys_Error(const ERROR_STRING[])
|
||||||
|
return dllfunc(DLLFunc_Sys_Error, ERROR_STRING)
|
||||||
|
stock DF_PM_FindTextureType(name[])
|
||||||
|
return dllfunc(DLLFunc_PM_FindTextureType, name)
|
||||||
|
stock DF_RegisterEncoders()
|
||||||
|
return dllfunc(DLLFunc_RegisterEncoders)
|
||||||
|
|
||||||
|
stock DF_GetHullBounds(hullnumber, Float:mins[3], Float:maxs[3])
|
||||||
|
return dllfunc(DLLFunc_GetHullBounds, hullnumber, mins, maxs)
|
||||||
|
stock DF_CreateInstancedBaseline()
|
||||||
|
return dllfunc(DLLFunc_CreateInstancedBaseline)
|
||||||
|
stock DF_pfnAllowLagCompensation()
|
||||||
|
return dllfunc(DLLFunc_pfnAllowLagCompensation)
|
||||||
|
stock DF_MetaFunc_CallGameEntity(const STRING[], const ENTITY)
|
||||||
|
return dllfunc(MetaFunc_CallGameEntity, STRING, ENTITY)
|
||||||
|
stock DF_ClientUserInfoChanged(const IDPLAYER)
|
||||||
|
return dllfunc(DLLFunc_ClientUserInfoChanged, IDPLAYER)
|
@ -217,8 +217,11 @@ stock ns2amx_inrange(ida,idb,range)
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
stock ns2amx_nspopup(id,svMessage[190])
|
stock ns2amx_nspopup(id,svMessage[190]) {
|
||||||
return ns_popup(id, svMessage)
|
new szMessage[180]
|
||||||
|
copy(szMessage,179,svMessage)
|
||||||
|
return ns_popup(id, szMessage)
|
||||||
|
}
|
||||||
|
|
||||||
stock ns2amx_setres(id,value)
|
stock ns2amx_setres(id,value)
|
||||||
return ns_set_res(id, float(value))
|
return ns_set_res(id, float(value))
|
||||||
|
1237
plugins/include/xs.inc
Executable file
1237
plugins/include/xs.inc
Executable file
File diff suppressed because it is too large
Load Diff
@ -101,3 +101,17 @@ INV_PAS = Zle haslo!
|
|||||||
PAS_ACC = Haslo zaakceptowane
|
PAS_ACC = Haslo zaakceptowane
|
||||||
PRIV_SET = Przywileje ustawione
|
PRIV_SET = Przywileje ustawione
|
||||||
NO_ENTRY = Nie mozesz wejsc na ten serwer...
|
NO_ENTRY = Nie mozesz wejsc na ten serwer...
|
||||||
|
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
LOADED_ADMIN = 1 admin ingeladen vanuit bestand
|
||||||
|
LOADED_ADMINS = %d admins ingeladen vanuit bestand
|
||||||
|
SQL_CANT_CON = SQL Fout: Kan geen verbinding maken: '%s'
|
||||||
|
SQL_CANT_LOAD_ADMINS = SQL Fout: Kan admins niet inladen: '%s'
|
||||||
|
NO_ADMINS = Geen admins gevonden.
|
||||||
|
SQL_LOADED_ADMIN = 1 admin ingeladen vanuit databank
|
||||||
|
SQL_LOADED_ADMINS = %d admins ingeladen vanuit databank
|
||||||
|
INV_PAS = Ongeldig wachtwoord!
|
||||||
|
PAS_ACC = Wachtwoord geaccepteerd
|
||||||
|
PRIV_SET = Privileges ingesteld
|
||||||
|
NO_ENTRY = Je hebt geen toegang tot deze server...
|
@ -102,3 +102,16 @@ COL_ORANGE = pomaranczowy
|
|||||||
COL_OCEAN = blekitny
|
COL_OCEAN = blekitny
|
||||||
COL_MAROON = bordowy
|
COL_MAROON = bordowy
|
||||||
PRINT_ALL = (WSZYSTKO) %s : %s
|
PRINT_ALL = (WSZYSTKO) %s : %s
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
COL_WHITE = wit
|
||||||
|
COL_RED = rood
|
||||||
|
COL_GREEN = groen
|
||||||
|
COL_BLUE = blauw
|
||||||
|
COL_YELLOW = geel
|
||||||
|
COL_MAGENTA = magenta
|
||||||
|
COL_CYAN = cyaan
|
||||||
|
COL_ORANGE = oranje
|
||||||
|
COL_OCEAN = oceaan
|
||||||
|
COL_MAROON = bruin
|
||||||
|
PRINT_ALL = (Allemaal) %s : %s
|
@ -526,3 +526,69 @@ ADMIN_LEAVE_2 = ADMIN %s: oposc %s %s %s %s
|
|||||||
ADMIN_NICK_1 = ADMIN: zmien nick %s na "%s"
|
ADMIN_NICK_1 = ADMIN: zmien nick %s na "%s"
|
||||||
ADMIN_NICK_2 = ADMIN %s: zmien nick %s na "%s"
|
ADMIN_NICK_2 = ADMIN %s: zmien nick %s na "%s"
|
||||||
CHANGED_NICK = Zmieniono nick %s na "%s"
|
CHANGED_NICK = Zmieniono nick %s na "%s"
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
ADMIN_KICK_1 = ADMIN: verwijder %s
|
||||||
|
ADMIN_KICK_2 = ADMIN %s: verwijder %s
|
||||||
|
IP_REMOVED = Ip "%s" verwijderd van ban lijst
|
||||||
|
AUTHID_REMOVED = Authid "%s" verwijderd van ban lijst
|
||||||
|
ADMIN_UNBAN_1 = ADMIN: verwijder verbanning %s
|
||||||
|
ADMIN_UNBAN_2 = ADMIN %s: verwijder verbanning %s
|
||||||
|
ADMIN_ADDBAN_1 = ADMIN: verban %s
|
||||||
|
ADMIN_ADDBAN_2 = ADMIN %s: verban %s
|
||||||
|
BANNED = verbannen
|
||||||
|
FOR_MIN = voor %s minuten
|
||||||
|
PERM = permanent
|
||||||
|
CLIENT_BANNED = Speler "%s" verbannen
|
||||||
|
ADMIN_SLAY_1 = ADMIN: slacht %s
|
||||||
|
ADMIN_SLAY_2 = ADMIN %s: slacht %s
|
||||||
|
CLIENT_SLAYED = Speler "%s" geslacht
|
||||||
|
ADMIN_SLAP_1 = ADMIN: slaat %s met %d schade
|
||||||
|
ADMIN_SLAP_2 = ADMIN %s: slaat %s met %d schade
|
||||||
|
CLIENT_SLAPED = Speler "%s" geslagen met %d schade
|
||||||
|
MAP_NOT_FOUND = Map met die naam niet gevonden of de map is ongeldig
|
||||||
|
ADMIN_MAP_1 = ADMIN: verander map naar %s
|
||||||
|
ADMIN_MAP_2 = ADMIN %s: verander map naar %s
|
||||||
|
NO_MORE_CVARS = Kan geen cvars meer toevoegen voor rcon toegang!
|
||||||
|
UNKNOWN_CVAR = Onbekende cvar: %s
|
||||||
|
CVAR_NO_ACC = Je hebt geen toegang tot dat cvar
|
||||||
|
CVAR_IS = Cvar "%s" is "%s"
|
||||||
|
PROTECTED = BESCHERMD
|
||||||
|
SET_CVAR_TO = %s stelt cvar %s in naar "%s"
|
||||||
|
CVAR_CHANGED = Cvar "%s" veranderd naar "%s"
|
||||||
|
LOADED_PLUGINS = Huidige ingeladen plugins
|
||||||
|
NAME = naam
|
||||||
|
VERSION = versie
|
||||||
|
AUTHOR = auteur
|
||||||
|
FILE = bestand
|
||||||
|
STATUS = status
|
||||||
|
PLUGINS_RUN = %d plugins, %d actief
|
||||||
|
LOADED_MODULES = Huidig ingeladen modulen
|
||||||
|
NUM_MODULES = %d modulen
|
||||||
|
FILE_NOT_FOUND = Bestand "%s" niet gevonden
|
||||||
|
ADMIN_CONF_1 = ADMIN: laad configuratie %s
|
||||||
|
ADMIN_CONF_2 = ADMIN %s: laad configuratie %s
|
||||||
|
PAUSED = gepauzeerd
|
||||||
|
UNPAUSED = hervat
|
||||||
|
UNABLE_PAUSE = De server kan het spel niet pauzeren. Hiervoor zijn echte spelers nodig.
|
||||||
|
SERVER_PROC = Server hervat %s
|
||||||
|
PAUSING = pauzeren
|
||||||
|
UNPAUSING = hervatten
|
||||||
|
PAUSE = pauzeer
|
||||||
|
UNPAUSE = hervat
|
||||||
|
COM_SENT_SERVER = Commando "%s" verzonden naar de server console.
|
||||||
|
CLIENTS_ON_SERVER = Spelers op server
|
||||||
|
IMMU = immu
|
||||||
|
RESERV = geres
|
||||||
|
ACCESS = toegang
|
||||||
|
TOTAL_NUM = Totaal %d
|
||||||
|
SKIP_MATCH = "%s" overgeslagen (komt overeen met "%s")
|
||||||
|
SKIP_IMM = "%s" overgeslagen (immuun)
|
||||||
|
KICK_PL = "%s" wordt verwijderd
|
||||||
|
YOU_DROPPED = Je bent verwijderd van de server omdat de admin een specifieke groep spelers wil overlaten
|
||||||
|
KICKED_CLIENTS = %d spelers verwijderd
|
||||||
|
ADMIN_LEAVE_1 = ADMIN: verlaat %s %s %s %s
|
||||||
|
ADMIN_LEAVE_2 = ADMIN %s: verlaat %s %s %s %s
|
||||||
|
ADMIN_NICK_1 = ADMIN: verander de naam van %s naar "%s"
|
||||||
|
ADMIN_NICK_2 = ADMIN %s: verander de naam van %s naar "%s"
|
||||||
|
CHANGED_NICK = Naam van %s veranderd naar "%s"
|
@ -71,3 +71,12 @@ USE_BEGIN = Uzyj 'amx_help 1' aby dojsc do poczatku
|
|||||||
TYPE_HELP = Wpisz 'amx_help' w konsoli aby uzyskac liste komend
|
TYPE_HELP = Wpisz 'amx_help' w konsoli aby uzyskac liste komend
|
||||||
TIME_INFO_1 = Pozostaly czas: %d:%02d min. Nastepna mapa: %s
|
TIME_INFO_1 = Pozostaly czas: %d:%02d min. Nastepna mapa: %s
|
||||||
TIME_INFO_2 = Bez limitu czasu. Nastepna mapa: %s
|
TIME_INFO_2 = Bez limitu czasu. Nastepna mapa: %s
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
HELP_COMS = AMX Mod X Help: Commando's
|
||||||
|
HELP_ENTRIES = Data %d - %d van %d
|
||||||
|
HELP_USE_MORE = Gebruik 'amx_help %d' voor meer
|
||||||
|
HELP_USE_BEGIN = Gebruik 'amx_help 1' voor het begin
|
||||||
|
TYPE_HELP = Voer 'amx_help' in in de console om de beschikbare commando's te bekijken
|
||||||
|
TIME_INFO_1 = Resterende tijd: %d:%02d min. Volgende map: %s
|
||||||
|
TIME_INFO_2 = Geen tijdlimiet. Volgende map: %s
|
@ -23,3 +23,6 @@ DROPPED_RES = Frakoblet pga. plads reservation
|
|||||||
|
|
||||||
[pl]
|
[pl]
|
||||||
DROPPED_RES = Wyrzucony z powodu rezerwacji slotow
|
DROPPED_RES = Wyrzucony z powodu rezerwacji slotow
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
DROPPED_RES = Connectie verbroken vanwege plek reservering
|
@ -277,3 +277,37 @@ VOTE = Glos
|
|||||||
ACTION_PERFORMED = Nie mozesz tego wykonac na bocie "%s"
|
ACTION_PERFORMED = Nie mozesz tego wykonac na bocie "%s"
|
||||||
ADMIN_VOTE_FOR_1 = %s: zaglosuj %s na %s
|
ADMIN_VOTE_FOR_1 = %s: zaglosuj %s na %s
|
||||||
ADMIN_VOTE_FOR_2 = %s %s: zaglosuj %s na %s
|
ADMIN_VOTE_FOR_2 = %s %s: zaglosuj %s na %s
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
ADMIN_CANC_VOTE_1 = %s: stemronde annuleren
|
||||||
|
ADMIN_CANC_VOTE_2 = %s %s: stemronde annuleren
|
||||||
|
VOTING_CANC = Stemronde geannuleerd
|
||||||
|
NO_VOTE_CANC = Er is geen stemronde om te annuleren of de stemronde kan niet worden geannuleerd met dat commando
|
||||||
|
RES_REF = Resultaat geweigerd
|
||||||
|
RES_ACCEPTED = Resultaat geaccepteerd
|
||||||
|
VOTING_FAILED = Stemmen mislukt
|
||||||
|
VOTING_RES_1 = %s (ja "%d") (nee "%d") (nodig "%d")
|
||||||
|
VOTING_RES_2 = %s (ontvangen "%d") (nodig "%d")
|
||||||
|
VOTING_SUCCESS = Stemmen geslaagd
|
||||||
|
VOTING_RES_3 = %s (ontvangen "%d") (nodig "%d"). The result: %s
|
||||||
|
THE_RESULT = Het resultaat
|
||||||
|
WANT_CONTINUE = Wil je verder gaan?
|
||||||
|
VOTED_FOR = %s stemde voor
|
||||||
|
VOTED_AGAINST = %s stemde tegen
|
||||||
|
VOTED_FOR_OPT = %s stemde voor optie #%d
|
||||||
|
ALREADY_VOTING = Er is al een stemronde bezig...
|
||||||
|
VOTING_NOT_ALLOW = Stemmen nu niet toegestaan
|
||||||
|
GIVEN_NOT_VALID = Gegeven %s niet geldig
|
||||||
|
MAP_IS = map is
|
||||||
|
MAPS_ARE = mappen zijn
|
||||||
|
CHOOSE_MAP = Kies map
|
||||||
|
ADMIN_VOTE_MAP_1 = %s: stem op map(pen)
|
||||||
|
ADMIN_VOTE_MAP_2 = %s %s: stem op map(pen)
|
||||||
|
VOTING_STARTED = De stemronde is begonnen
|
||||||
|
VOTING_FORBIDDEN = Het is verboden om daarop te stemmen
|
||||||
|
ADMIN_VOTE_CUS_1 = %s: stem custom
|
||||||
|
ADMIN_VOTE_CUS_2 = %s %s: stem custom
|
||||||
|
VOTE = Stem
|
||||||
|
ACTION_PERFORMED = Die actie kan niet worden gedaan op bot "%s"
|
||||||
|
ADMIN_VOTE_FOR_1 = %s: stem %s voor %s
|
||||||
|
ADMIN_VOTE_FOR_2 = %s %s: stem %s voor %s
|
@ -22,3 +22,6 @@ STOP_FLOOD = Stop med at oversvoemme serveren!
|
|||||||
|
|
||||||
[pl]
|
[pl]
|
||||||
STOP_FLOOD = Przestan zapychac serwer!
|
STOP_FLOOD = Przestan zapychac serwer!
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
STOP_FLOOD = Stop met het spammen van de server!
|
@ -37,3 +37,8 @@ SPE_MENU = Tale Menu
|
|||||||
CMD_MENU = Menu komend
|
CMD_MENU = Menu komend
|
||||||
CONF_MENU = Menu konfiguracji
|
CONF_MENU = Menu konfiguracji
|
||||||
SPE_MENU = Menu rozmowy
|
SPE_MENU = Menu rozmowy
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
CMD_MENU = Commando's Menu
|
||||||
|
CONF_MENU = Configuratie's Menu
|
||||||
|
SPE_MENU = Spraak Menu
|
@ -168,3 +168,25 @@ CL_NOT_FOUND = Nie znaleziono klienta z tym nickiem lub ID
|
|||||||
CLIENT_IMM = Klient "%s" ma immunitet
|
CLIENT_IMM = Klient "%s" ma immunitet
|
||||||
CANT_PERF_DEAD = Nie mozesz tego wykonac na martwym kliencie "%s"
|
CANT_PERF_DEAD = Nie mozesz tego wykonac na martwym kliencie "%s"
|
||||||
CANT_PERF_BOT = Nie mozesz tego wykonac na bocie "%s"
|
CANT_PERF_BOT = Nie mozesz tego wykonac na bocie "%s"
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
BACK = Terug
|
||||||
|
EXIT = Verlaat
|
||||||
|
MORE = Meer
|
||||||
|
NONE = Geen
|
||||||
|
ADMIN = ADMIN
|
||||||
|
PLAYER = SPELER
|
||||||
|
ERROR = fout
|
||||||
|
YES = Ja
|
||||||
|
NO = Nee
|
||||||
|
BAN = verban
|
||||||
|
KICK = verwijder
|
||||||
|
NO_ACC_COM = Je hebt geen toegang tot dat commando.
|
||||||
|
USAGE = Gebruik
|
||||||
|
MORE_CL_MATCHT = Er zijn meer spelers die overeen komen met het gegeven patroon
|
||||||
|
CL_NOT_FOUND = Speler met die naam of UserID niet gevonden.
|
||||||
|
CLIENT_IMM = Speler "%s" is immuun
|
||||||
|
CANT_PERF_DEAD = Die actie kan niet worden gebruikt op dode speler "%s"
|
||||||
|
CANT_PERF_BOT = Die actie kan niet worden gebruikt op bot "%s"
|
||||||
|
ON = Aan
|
||||||
|
OFF = Uit
|
@ -22,3 +22,6 @@ INF_REACH = Informations beskeder graense naaet!
|
|||||||
|
|
||||||
[pl]
|
[pl]
|
||||||
INF_REACH = Osiagniety limit wiadomosci informacyjnych!
|
INF_REACH = Osiagniety limit wiadomosci informacyjnych!
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
INF_REACH = Informatieve Berichten limiet bereikt!
|
@ -30,3 +30,7 @@ LANG_NAME_NATIVE = Dansk
|
|||||||
[pl]
|
[pl]
|
||||||
LANG_NAME = Polish
|
LANG_NAME = Polish
|
||||||
LANG_NAME_NATIVE = Polski
|
LANG_NAME_NATIVE = Polski
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
LANG_NAME = Dutch
|
||||||
|
LANG_NAME_NATIVE = Nederlands
|
@ -71,3 +71,12 @@ X_CHOSE_X = %s wybral %s
|
|||||||
CHOOSE_NEXTM = AMX wybral nastepna mape
|
CHOOSE_NEXTM = AMX wybral nastepna mape
|
||||||
EXTED_MAP = Rozszerz mape %s
|
EXTED_MAP = Rozszerz mape %s
|
||||||
TIME_CHOOSE = Nadszedl czas wyboru mapy...
|
TIME_CHOOSE = Nadszedl czas wyboru mapy...
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
CHO_FIN_EXT = Kiezen voltooid. Tijd huidige map zal worden verlengd met %.0f minuten
|
||||||
|
CHO_FIN_NEXT = Kiezen voltooid. De volgende map zal %s zijn
|
||||||
|
CHOSE_EXT = %s kies map verlenging
|
||||||
|
X_CHOSE_X = %s kies %s
|
||||||
|
CHOOSE_NEXTM = AMX Kies volgende map
|
||||||
|
EXTED_MAP = Verleng map %s
|
||||||
|
TIME_CHOOSE = Het is tijd om de volgende map te kiezen...
|
||||||
|
@ -192,3 +192,28 @@ ADMIN_V_MAP_2 = ADMIN %s: vote map(s)
|
|||||||
ADMIN_CHANGEL_1 = ADMIN: zmiana mapy na %s
|
ADMIN_CHANGEL_1 = ADMIN: zmiana mapy na %s
|
||||||
ADMIN_CHANGEL_2 = ADMIN %s: zmiana mapy na %s
|
ADMIN_CHANGEL_2 = ADMIN %s: zmiana mapy na %s
|
||||||
CHANGLE_MENU = Menu zmiany mapy
|
CHANGLE_MENU = Menu zmiany mapy
|
||||||
|
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
RESULT_REF = Resultaat geweigerd
|
||||||
|
RESULT_ACC = Resultaat geaccepteerd
|
||||||
|
VOTE_SUCCESS = Stemmen geslaagd. Map zal veranderen naar
|
||||||
|
VOTE_FAILED = Stemmen mislukt
|
||||||
|
THE_WINNER = De winnaar
|
||||||
|
WANT_CONT = Wil je verder gaan?
|
||||||
|
VOT_CANC = Stemronde is geannuleerd
|
||||||
|
X_VOTED_FOR = %s heeft voor optie #%d gestemd
|
||||||
|
VOTEMAP_MENU = Map stemronde Menu
|
||||||
|
START_VOT = Start stemronde
|
||||||
|
SEL_MAPS = Geselecteerde Maps
|
||||||
|
ALREADY_VOT = Er is al een stemronde bezig...
|
||||||
|
NO_MAPS_MENU = Geen maps in menu
|
||||||
|
VOT_NOW_ALLOW = Stemmen nu niet toegestaan
|
||||||
|
WHICH_MAP = Welke map wil je?
|
||||||
|
CHANGE_MAP_TO = Verander map naar
|
||||||
|
CANC_VOTE = Annuleer stemronde
|
||||||
|
ADMIN_V_MAP_1 = ADMIN: stem op map(pen)
|
||||||
|
ADMIN_V_MAP_2 = ADMIN %s: stem op map(pen)
|
||||||
|
ADMIN_CHANGEL_1 = ADMIN: verander map %s
|
||||||
|
ADMIN_CHANGEL_2 = ADMIN %s: verander map %s
|
||||||
|
CHANGLE_MENU = Verander Map Menu
|
@ -143,3 +143,22 @@ STATS_SET = Ustawienia statystyk ^n
|
|||||||
PAUSE_PLUG = Zatrzymaj pluginy
|
PAUSE_PLUG = Zatrzymaj pluginy
|
||||||
RES_WEAP = Ogranicz bronie
|
RES_WEAP = Ogranicz bronie
|
||||||
TELE_PLAYER = Teleportuj gracza
|
TELE_PLAYER = Teleportuj gracza
|
||||||
|
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
KICK_PLAYER = Kick Speler
|
||||||
|
BAN_PLAYER = Verban Speler
|
||||||
|
SLAP_SLAY = Sla/Slacht Speler
|
||||||
|
TEAM_PLAYER = Team Speler ^n
|
||||||
|
CHANGEL = Verander Map
|
||||||
|
VOTE_MAPS = Stem op maps ^n
|
||||||
|
SPECH_STUFF = Spraak Dingen
|
||||||
|
CLIENT_COM = Client Commando's
|
||||||
|
SERVER_COM = Server Commando's
|
||||||
|
CVARS_SET = Cvars Instellingen
|
||||||
|
CONFIG = Configuratie
|
||||||
|
LANG_SET = Taal Instellingen
|
||||||
|
STATS_SET = Stats Settings ^n
|
||||||
|
PAUSE_PLUG = Pauseer Plugins
|
||||||
|
RES_WEAP = Verbied Wapens
|
||||||
|
TELE_PLAYER = Teleporteer Speler
|
@ -406,3 +406,50 @@ TERRORISTS = Terrorystow
|
|||||||
REMAINING = Jeszcze %d %s do zabicia...
|
REMAINING = Jeszcze %d %s do zabicia...
|
||||||
KILLS = zabojstwami
|
KILLS = zabojstwami
|
||||||
HS = w glowe
|
HS = w glowe
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
WITH = met
|
||||||
|
KNIFE_MSG_1 = %s snijdt %s in mootjes
|
||||||
|
KNIFE_MSG_2 = %s pakt zijn mes en hakt in op %s
|
||||||
|
KNIFE_MSG_3 = %s sluipt sneaky achter %s en snijdt zijn strot door
|
||||||
|
KNIFE_MSG_4 = %s knived %s
|
||||||
|
LAST_MSG_1 = Nu hangt alles van jou af!
|
||||||
|
LAST_MSG_2 = Ik hoop dat je nog een pilletje hebt.
|
||||||
|
LAST_MSG_3 = All je teammaten zijn gedoodt. Veel geluk!
|
||||||
|
LAST_MSG_4 = Nu ben je helemaal alleen. Veel plezier!
|
||||||
|
HE_MSG_1 = %s stuurt een klein presentje naar %s
|
||||||
|
HE_MSG_2 = %s gooit een kleinigheidje naar %s
|
||||||
|
HE_MSG_3 = %s maakt een mooie worp naar %s
|
||||||
|
HE_MSG_4 = %s heeft een grote explosie voor %s
|
||||||
|
SHE_MSG_1 = %s blaast zichzelf op met een granaat
|
||||||
|
SHE_MSG_2 = %s probeert het effect van een HE granaat
|
||||||
|
SHE_MSG_3 = %s slikt granaten door!
|
||||||
|
SHE_MSG_4 = %s explodeerd!
|
||||||
|
HS_MSG_1 = $kn killde $vn met een goed^ngemikt schot op het hoofd!
|
||||||
|
HS_MSG_2 = $kn removed $vn's^nhead with the $wn
|
||||||
|
HS_MSG_3 = $kn turned $vn's head^ninto pudding with the $wn
|
||||||
|
HS_MSG_4 = $vn is gepwned door $kn!
|
||||||
|
HS_MSG_5 = $vn's hoofd is^nveranderd in rode gel
|
||||||
|
HS_MSG_6 = $kn heeft <20>bervette aim met de $wn,^nzoals $vn dat maar al te goed weet.
|
||||||
|
HS_MSG_7 = $vn's hoofd stond iets te lang in $kn's^nvizier...
|
||||||
|
DOUBLE_KILL = Wow! %s maakte een dubbele kill!!!
|
||||||
|
PREPARE_FIGHT = Bereid je voor om te VECHTEN!^nRonde %d
|
||||||
|
KILLED_ROW = Je hebt %d tegenstanders achter elkaar gedood
|
||||||
|
DIED_ROUNDS = Voorzichtig! Je bent al %d rondes achter elkaar doodgegaan...
|
||||||
|
KILLED_CHICKEN = Iemand heeft een kip vermoord :(!!!
|
||||||
|
BLEW_RADIO = Iemand heeft met de radio lopen knoeien!!!
|
||||||
|
REACHED_TARGET = Omg! %s is bij het target!
|
||||||
|
PLANT_BOMB = %s is de bom aan het planten!
|
||||||
|
DEFUSING_BOMB = %s is bezig met het defusen van de bom...
|
||||||
|
SET_UP_BOMB = %s heeft de bom geplant!!!
|
||||||
|
DEFUSED_BOMB = %s heeft de bom gedefused!!
|
||||||
|
FAILED_DEFU = Het is %s niet gelukt om de bom te defusen...
|
||||||
|
PICKED_BOMB = %s heeft de bom opgepakt...
|
||||||
|
DROPPED_BOMB = %s heeft de bom laten vallen!!!
|
||||||
|
CT = CT
|
||||||
|
CTS = CTS
|
||||||
|
TERRORIST = TERRORIST
|
||||||
|
TERRORISTS = TERRORISTEN
|
||||||
|
REMAINING = %d %s blijven over...
|
||||||
|
KILLS = kills
|
||||||
|
HS = hs
|
@ -84,3 +84,14 @@ SET_LANG_SERVER = Jezyk serwera zostal ustawiony na "%s"
|
|||||||
SET_LANG_USER = Twoj jezyk zostal ustawiony na "%s"
|
SET_LANG_USER = Twoj jezyk zostal ustawiony na "%s"
|
||||||
TYPE_LANGMENU = Wpisz 'amx_langmenu' w konsoli aby wyswietlic menu z wyborem jezyka
|
TYPE_LANGMENU = Wpisz 'amx_langmenu' w konsoli aby wyswietlic menu z wyborem jezyka
|
||||||
LANG_MENU_DISABLED = Menu jezykowe zostalo wylaczone.
|
LANG_MENU_DISABLED = Menu jezykowe zostalo wylaczone.
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
LANG_NOT_EXISTS = Deze taal bestaat niet
|
||||||
|
PERSO_LANG = Persoonlijke Taal
|
||||||
|
LANG_MENU = Taal Menu
|
||||||
|
SERVER_LANG = Taal van de Server
|
||||||
|
SAVE_LANG = Bewaar taal
|
||||||
|
SET_LANG_SERVER = De server taal is veranderd naar "%s"
|
||||||
|
SET_LANG_USER = Je taal is veranderd naar "%s"
|
||||||
|
TYPE_LANGMENU = Type 'amx_langmenu' in de console voor een menu waar je je taal kunt veranderen
|
||||||
|
LANG_MENU_DISABLED = Taal menu uitgeschakeld.
|
@ -23,3 +23,6 @@ NEXT_MAP = Naeste bane:
|
|||||||
|
|
||||||
[pl]
|
[pl]
|
||||||
NEXT_MAP = Nastepna Mapa:
|
NEXT_MAP = Nastepna Mapa:
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
NEXT_MAP = Volgende Map:
|
@ -307,3 +307,39 @@ COM_PAUSE_SAVE = ^tsave - zapisuje liste wylaczonych pluginow
|
|||||||
COM_PAUSE_CLEAR = ^tclear - czysci liste wylaczonych pluginow
|
COM_PAUSE_CLEAR = ^tclear - czysci liste wylaczonych pluginow
|
||||||
COM_PAUSE_LIST = ^tlist [id] - wyswietla liste pluginow
|
COM_PAUSE_LIST = ^tlist [id] - wyswietla liste pluginow
|
||||||
COM_PAUSE_ADD = ^tadd <title> - oznacza plugin jako niepauzowalny
|
COM_PAUSE_ADD = ^tadd <title> - oznacza plugin jako niepauzowalny
|
||||||
|
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
PAUSE_COULDNT_FIND = Kon geen plugin vinden gelijk aan "%s"
|
||||||
|
PAUSE_PLUGIN_MATCH = Plugin gelijk aan "%s"
|
||||||
|
PAUSE_CONF_CLEARED = Configuratie bestand leeggehaald. Herlaad de map als dat nodig is
|
||||||
|
PAUSE_ALR_CLEARED = Configuratie was al leeggehaald!
|
||||||
|
PAUSE_CONF_SAVED = Configuratie succesvol bewaard
|
||||||
|
PAUSE_SAVE_FAILED = Configuratie bewaren mislukt!!!
|
||||||
|
LOCKED = OP-SLOT
|
||||||
|
PAUSE_UNPAUSE = Pauseer/Hervat Plugins
|
||||||
|
CLEAR_STOPPED = Haal bestand met gestopte plugins leeg
|
||||||
|
SAVE_STOPPED = Bewaar gestopte plugins
|
||||||
|
PAUSED_PLUGIN = %d plugin gepauseerd
|
||||||
|
PAUSED_PLUGINS = %d plugins gepauseerd
|
||||||
|
UNPAUSED_PLUGIN = %d plugin hervat
|
||||||
|
UNPAUSED_PLUGINS = %d plugins hervat
|
||||||
|
CANT_MARK_MORE = Kan niet nog meer plugins markeren als niet pauzeerbaar!
|
||||||
|
PAUSE_LOADED = Pauseer Plugins: Geladen plugins
|
||||||
|
STOPPED = gestopt
|
||||||
|
VERSION = versie
|
||||||
|
FILE = bestand
|
||||||
|
PAUSE_ENTRIES = Entries %d - %d van de %d (%d lopen nu)
|
||||||
|
PAUSE_USE_MORE = Gebruik 'amx_pausecfg list %d' voor mee
|
||||||
|
PAUSE_USE_BEGIN = Gebruik 'amx_pausecfg list 1' voor het begin
|
||||||
|
PAUSE_USAGE = Gebruik: amx_pausecfg <commando> [naam]
|
||||||
|
PAUSE_COMMANDS = Commando's
|
||||||
|
COM_PAUSE_OFF = ^toff - pauseert alle plugins die niet in de lijst staan
|
||||||
|
COM_PAUSE_ON = ^ton - hervat alle plugins
|
||||||
|
COM_PAUSE_STOP = ^tstop <bestand> - stopt een plugin
|
||||||
|
COM_PAUSE_PAUSE = ^tpause <bestand> - pauseert een plugin
|
||||||
|
COM_PAUSE_ENABLE = ^tenable <bestand> - schakelt een plugin in
|
||||||
|
COM_PAUSE_SAVE = ^tsave - bewaard een lijst van gestopte plugins
|
||||||
|
COM_PAUSE_CLEAR = ^tclear - haalt lijst met gestopte plugins leeg
|
||||||
|
COM_PAUSE_LIST = ^tlist [id] - maakt lijst met plugins
|
||||||
|
COM_PAUSE_ADD = ^tadd <titel> - markeert een plugin als niet pauzeerbaar
|
@ -166,3 +166,20 @@ TEAM_MENU = Menu druzyny
|
|||||||
TRANSF_TO = Przejdz do %s
|
TRANSF_TO = Przejdz do %s
|
||||||
CL_CMD_MENU = menu komend klienta
|
CL_CMD_MENU = menu komend klienta
|
||||||
NO_CMDS = Nie ma zadnych komend
|
NO_CMDS = Nie ma zadnych komend
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
ADMIN_BAN_1 = ADMIN: ban %s
|
||||||
|
ADMIN_BAN_2 = ADMIN %s: ban %s
|
||||||
|
BAN_MENU = Ban Menu
|
||||||
|
BAN_FOR_MIN = Ban voor %d minuten
|
||||||
|
BAN_PERM = Ban permanent
|
||||||
|
SLAP_SLAY_MENU = Slap/Slacht Menu
|
||||||
|
SLAP_WITH_DMG = Slap met %d schade
|
||||||
|
SLAY = Slacht
|
||||||
|
KICK_MENU = Kick Menu
|
||||||
|
ADMIN_TRANSF_1 = ADMIN: zet %s over naar %s
|
||||||
|
ADMIN_TRANSF_2 = ADMIN %s: zet %s over naar %s
|
||||||
|
TEAM_MENU = Team Menu
|
||||||
|
TRANSF_TO = Zet over naar %s
|
||||||
|
CL_CMD_MENU = Client Cmds Menu
|
||||||
|
NO_CMDS = Geen cmds beschikbaar
|
@ -281,3 +281,36 @@ REST_WEAP = Ogranicz bronie
|
|||||||
SAVE_SET = Zapisz ustawienia
|
SAVE_SET = Zapisz ustawienia
|
||||||
CONF_SAV_SUC = Konfiguracja zapisana z powodzeniem
|
CONF_SAV_SUC = Konfiguracja zapisana z powodzeniem
|
||||||
CONF_SAV_FAIL = Blad podczas zapisu konfiguracji
|
CONF_SAV_FAIL = Blad podczas zapisu konfiguracji
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
EQ_WE_RES = Uitrusting en wapens zijn verboden
|
||||||
|
EQ_WE_UNRES = Uitrusting en wapens zijn toegestaan
|
||||||
|
HAVE_BEEN = zijn
|
||||||
|
HAS_BEEN = is
|
||||||
|
RESTRICTED = verboden
|
||||||
|
UNRESTRICTED = toegestaan
|
||||||
|
NO_EQ_WE = Kon dat wapen of die uitrusting niet vinden
|
||||||
|
WEAP_RES = Wapens Restricties
|
||||||
|
VALUE = waarde
|
||||||
|
REST_ENTRIES_OF = Entries %i - %i van de %i
|
||||||
|
REST_USE_MORE = Gebruik 'amx_restrict list %i' voor meer
|
||||||
|
REST_USE_BEGIN = Gebruik 'amx_restrict list 1' voor het begin
|
||||||
|
REST_CONF_SAVED = Configuratie is bewaard (file "%s")
|
||||||
|
REST_COULDNT_SAVE = Kon configuratie niet bewaren (file "%s")
|
||||||
|
REST_CONF_LOADED = Configuratie is geladen (file "%s")
|
||||||
|
REST_COULDNT_LOAD = Kon configuratie niet laden (file "%s")
|
||||||
|
COM_REST_USAGE = Gebruik: amx_restrict <commando> [waarde]
|
||||||
|
COM_REST_COMMANDS = Commando's:
|
||||||
|
COM_REST_ON = ^ton - zet verbod op hele uitrusting
|
||||||
|
COM_REST_OFF = ^toff - verwijder verbod op hele uitrusting
|
||||||
|
COM_REST_ON = ^ton <waarde> [...] - stel gespecificeerde restrictie in
|
||||||
|
COM_REST_OFF = ^toff <waarde> [...] - verwijder gespecificeerde restrictie
|
||||||
|
COM_REST_LIST = ^tlist - geef lijst van uitrustingen en wapens weer
|
||||||
|
COM_REST_SAVE = ^tsave - bewaar verbod
|
||||||
|
COM_REST_LOAD = ^tload [bestand] - laad verboden [vanuit een bestand]
|
||||||
|
COM_REST_VALUES = Available values to restrict are:^nammo, equip, pistol, shotgun, sub, rifle, machine
|
||||||
|
COM_REST_TYPE = Typ 'amx_restrict list' voor meer gespecificeerde waarden
|
||||||
|
REST_WEAP = Verbied Wapens
|
||||||
|
SAVE_SET = Bewaar instellingen
|
||||||
|
CONF_SAV_SUC = Configuratie bewaren gelukt
|
||||||
|
CONF_SAV_FAIL = Configuratie bewaren MISlukt!!!
|
@ -40,3 +40,9 @@ MSG_DISABLED = Rullende besked slaaet fra
|
|||||||
MIN_FREQ = Minimalna czestotliwosc dla tej wiadomosci to %d sekund
|
MIN_FREQ = Minimalna czestotliwosc dla tej wiadomosci to %d sekund
|
||||||
MSG_FREQ = Czestotliwosc wyswietlania wiadomosci: %d:%02d minut
|
MSG_FREQ = Czestotliwosc wyswietlania wiadomosci: %d:%02d minut
|
||||||
MSG_DISABLED = Wiadomosci przesuwane wylaczone
|
MSG_DISABLED = Wiadomosci przesuwane wylaczone
|
||||||
|
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
MIN_FREQ = Minimale frequentie voor dit bericht is %d seconden
|
||||||
|
MSG_FREQ = Scrollend bericht frequentie: %d:%02d minuten
|
||||||
|
MSG_DISABLED = Scrollend bericht uitgeschakeld
|
@ -663,3 +663,98 @@ M_NICK = Nick:
|
|||||||
M_YOUR_RANK_IS = Your rank is
|
M_YOUR_RANK_IS = Your rank is
|
||||||
M_THEIR_RANK_IS = Their rank is
|
M_THEIR_RANK_IS = Their rank is
|
||||||
M_OF = of
|
M_OF = of
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
WHOLEBODY = helelichaam
|
||||||
|
HEAD = hoofd
|
||||||
|
CHEST = romp
|
||||||
|
STOMACH = maag
|
||||||
|
LEFTARM = linkerarm
|
||||||
|
RIGHTARM = rechterarm
|
||||||
|
LEFTLEG = linkerbeen
|
||||||
|
RIGHTLEG = rechterbeen
|
||||||
|
MULTI_MSG = Multi-Kill! %s^nmet %d kills (%d hs)
|
||||||
|
ULTRA_MSG = Ultra-Kill!!! %s^nmet %d kills (%d hs)
|
||||||
|
SPREE_MSG = %s IS ON A KILLING SPREE!!!^nmet %d kills (%d hs)
|
||||||
|
RAMPAGE_MSG = RAMPAGE!!! %s^nmet %d kills (%d hs)
|
||||||
|
UNSTOPPABLE_MSG = %s IS UNSTOPPABLE!!!^nmet %d kills (%d hs)
|
||||||
|
MONSTER_MSG = %s IS A MONSTER!^nmet %d kills (%d hs)
|
||||||
|
GODLIKE_MSG = %s IS GODLIKE!!!!^nmet %d kills (%d hs)
|
||||||
|
MULTI_SMALL = %s: Multi-Kill!
|
||||||
|
ULTRA_SMALL = %s: Ultra-Kill!!!
|
||||||
|
SPREE_SMALL = %s IS ON A KILLING SPREE!!!
|
||||||
|
RAMPAGE_SMALL = %s: RAMPAGE!!!
|
||||||
|
UNSTOPPABLE_SMALL = %s IS UNSTOPPABLE!!!
|
||||||
|
MONSTER_SMALL = %s IS EEN MONSTER!
|
||||||
|
GODLIKE_SMALL = %s IS GODLIKE!!!
|
||||||
|
KNIFE_MSG1 = %s sneed %s in hapklare plakjes
|
||||||
|
KNIFE_MSG2 = %s pakte zijn knife en hakte vrolijk in op %s
|
||||||
|
KNIFE_MSG3 = %s sloop achter %s en begon zijn lichaamsdelen te amputeren
|
||||||
|
KNIFE_MSG4 = %s knived %s
|
||||||
|
HE_MSG1 = %s stuurde een mooi cadeautje naar %s
|
||||||
|
HE_MSG2 = %s gooide een klein presentje naar %s
|
||||||
|
HE_MSG3 = %s maakte een mooie worp naar %s
|
||||||
|
HE_MSG4 = %s had een grote explosie voor %s
|
||||||
|
SHE_MSG1 = %s blies zichzelf op met een granaat
|
||||||
|
SHE_MSG2 = %s probeert het effect van een granaat even uit
|
||||||
|
SHE_MSG3 = %s moet oppassen met dat vuurwerk
|
||||||
|
SHE_MSG4 = %s explodeert!
|
||||||
|
HEAD_MSG1 = $kn killed $vn met een goed^ngeplaatst schot op het hoofd!
|
||||||
|
HEAD_MSG2 = $kn verwijderd $vn's^nhoofd met de $wn
|
||||||
|
HEAD_MSG3 = $kn veranderde $vn's hoofd^nin pudding met de $wn
|
||||||
|
HEAD_MSG4 = $vn wordt gepwned door $kn
|
||||||
|
HEAD_MSG5 = $vn's hoofd is^nveranderd in rode gel
|
||||||
|
HEAD_MSG6 = $kn heeft superb aim met de $wn,^nmaar dat is $vn nu ook wel duidelijk.
|
||||||
|
HEAD_MSG7 = $vn's hoofd bleef iets te lang in $kn's^nvizier...
|
||||||
|
DOUBLE_MSG1 = Wow! %s maakte een double kill !!!
|
||||||
|
DOUBLE_MSG2 = Incredible! %s maakte een triple kill !!!
|
||||||
|
DOUBLE_MSG3 = Amazing! %s maakte %d kills in 1 keer !!!
|
||||||
|
MORTAR_MSG1 = %s set up mortar well and blow out %s
|
||||||
|
MORTAR_MSG2 = %s maakte %s van een mooie afstand af
|
||||||
|
KILL_INFO1 = %s doodde jou met %s^nvan een afstand van %.2f meter.^n
|
||||||
|
KILL_INFO2 = Hij deed %d schade aan jou met %d hit(s)^nen heeft nog %dhp.^n
|
||||||
|
KILL_INFO3 = Jij deed %d schade aan hem met %d hit(s).^n
|
||||||
|
KILL_INFO4 = Hij raakte je in:^n%s^n
|
||||||
|
STILL_HAS = %s heeft nog %dhp
|
||||||
|
NO_KILLER = Geen killer gevonden...
|
||||||
|
TOPX = Top %d
|
||||||
|
FFIRE_IS = Friendly fire:
|
||||||
|
ATTACKERS = Aanvallers:
|
||||||
|
VICTIMS = Slachtoffer:
|
||||||
|
DMG = dmg
|
||||||
|
HIT_S = hit(s)
|
||||||
|
YOU_HIT = Jij raakte %s in:
|
||||||
|
SERVER_STATS = Server Status
|
||||||
|
SHOW_STATS = Laat stats zien
|
||||||
|
SHOW_RANK = Laat rank zien
|
||||||
|
TA_MSG = %s heeft een teammaat aangevallen
|
||||||
|
TK_MSG = %s heeft een teammaat gedood
|
||||||
|
NADE_CATCHED = Wow! %s heeft een vijandelijke granaat gevangen!
|
||||||
|
NADE_FAILEDTK = Oeps.. %s volgende keer beter opletten met een vijandelijke granaat..
|
||||||
|
NADE_FAILED = %s slaagde er niet in de vijandelijke granaat terug te gooien..
|
||||||
|
NADE_MASTER = OMG! %s is de granaten meester !!!
|
||||||
|
DISABLED_MSG = De server heeft die optie uitgeschakeld
|
||||||
|
MOST_KILLS = Meeste kills
|
||||||
|
KILL = kill
|
||||||
|
KILLS = kills
|
||||||
|
HEADSHOT = headshot
|
||||||
|
HEADSHOTS = headshots
|
||||||
|
BEST_SCORE = Beste Score
|
||||||
|
POINTS = punten
|
||||||
|
MOST_DAMAGE = Meeste schade
|
||||||
|
DAMAGE = schade
|
||||||
|
HIT = hit
|
||||||
|
HITS = hits
|
||||||
|
M_KILLS = Kills:
|
||||||
|
M_DEATHS = Deaths:
|
||||||
|
M_SCORE = Score:
|
||||||
|
M_TKS = TKs:
|
||||||
|
M_HITS = Hits:
|
||||||
|
M_SHOTS = Schoten:
|
||||||
|
M_HS = HS:
|
||||||
|
M_WEAPON = Wapen:
|
||||||
|
M_DAMAGE = Schade:
|
||||||
|
M_NICK = Nick:
|
||||||
|
M_YOUR_RANK_IS = Jouw rank is
|
||||||
|
M_THEIR_RANK_IS = Hun rank is
|
||||||
|
M_OF = van de
|
@ -195,3 +195,27 @@ ON = WL
|
|||||||
OFF = WYL
|
OFF = WYL
|
||||||
NO_STATS = Pluginy statystyk nie^nistnieja na serwerze^n
|
NO_STATS = Pluginy statystyk nie^nistnieja na serwerze^n
|
||||||
SAVE_CONF = Zapisz konfiguracje
|
SAVE_CONF = Zapisz konfiguracje
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
NO_OPTION = Kon opties met zo'n variabele niet vinden (naam "%s")
|
||||||
|
STATS_CONF_SAVED = Stats configuratie bewaren gelukt
|
||||||
|
STATS_CONF_FAILED = Bewaren van stats configuratie mislukt!!!
|
||||||
|
STATS_CONF_LOADED = Stats configuratie laden gelukt
|
||||||
|
STATS_CONF_FAIL_LOAD = Laden van stats configuratie mislukt!!!
|
||||||
|
STATS_CONF = Stats Configuratie
|
||||||
|
STATS_ENTRIES_OF = Ingangen %i - %i van de %i
|
||||||
|
STATS_USE_MORE = Use 'amx_statscfg list %i' for more
|
||||||
|
STATS_USE_BEGIN = Use 'amx_statscfg list 1' for begin
|
||||||
|
STATS_ENABLED = Stats ingeschakeld
|
||||||
|
STATS_DISABLED = Stats uitgeschakeld
|
||||||
|
CANT_ADD_STATS = Kan stats niet bij de lijst voegen, limiet bereikt!
|
||||||
|
COM_STATS_USAGE = Gebruik: amx_statscfg <commando> [parameters] ...
|
||||||
|
COM_STATS_COM = Commando's:
|
||||||
|
COM_STATS_ON = ^ton <variabele> - schakel gespecificeerde optie in
|
||||||
|
COM_STATS_OFF = ^toff <variabele> - schakel gespecificeerde optie uit
|
||||||
|
COM_STATS_SAVE = ^tsave - bewaar stats configuration
|
||||||
|
COM_STATS_LOAD = ^tload - laad stats configuration
|
||||||
|
COM_STATS_LIST = ^tlist [id] - lijst stats status
|
||||||
|
COM_STATS_ADD = ^tvoeg toe <naam> <variabele> - voeg stats toe aan de lijst
|
||||||
|
NO_STATS = Stats plugins zijn niet^ngeinstalleerd op deze server^n
|
||||||
|
SAVE_CONF = Bewaar configuratie
|
@ -461,3 +461,60 @@ DISABLED = wylaczony
|
|||||||
SERVER_STATS = Statystyki serwera
|
SERVER_STATS = Statystyki serwera
|
||||||
X_RANK_IS = Ranking %s wynosi %d na %d
|
X_RANK_IS = Ranking %s wynosi %d na %d
|
||||||
DISABLED_MSG = Serwer wylaczyl ta opcje
|
DISABLED_MSG = Serwer wylaczyl ta opcje
|
||||||
|
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
WHOLEBODY = helelichaam
|
||||||
|
HEAD = hoofd
|
||||||
|
CHEST = romp
|
||||||
|
STOMACH = maag
|
||||||
|
LEFTARM = linkerarm
|
||||||
|
RIGHTARM = rechterarm
|
||||||
|
LEFTLEG = linkerbeen
|
||||||
|
RIGHTLEG = rechterbeen
|
||||||
|
MODE_SET_TO = "amx_statsx_mode" veranderd naar "%s"
|
||||||
|
ATTACKERS = Aanvallers
|
||||||
|
ACC = acc.
|
||||||
|
HIT_S = hit(s)
|
||||||
|
DMG = dmg
|
||||||
|
VICTIMS = Slachtoffers
|
||||||
|
MOST_DMG = Meeste schade gedaan door
|
||||||
|
KILLED_YOU_DIST = %s doodde jou wmet %s^nvan een afstand van %0.2f meters.
|
||||||
|
DID_DMG_HITS = Hij deed %d schade aan jou met %d hit(s)^nen hij heeft nog steeds %dhp en %dap.
|
||||||
|
YOU_DID_DMG = Jij deed %d schade aan hem met %d hit(s).
|
||||||
|
EFF = eff.
|
||||||
|
BEST_SCORE = Beste score
|
||||||
|
KILL_S = kill(s)
|
||||||
|
TOTAL = Totaal
|
||||||
|
SHOT_S = schot(en)
|
||||||
|
HITS_YOU_IN = %s raakte je in
|
||||||
|
KILLED_BY_WITH = Gedood door %s met %s @ %0.0fm
|
||||||
|
NO_HITS = geen hits
|
||||||
|
YOU_NO_KILLER = You have no killer...
|
||||||
|
YOU_HIT = You hit %s %d time(s), %d damage
|
||||||
|
LAST_RES = Laatste resultaat: %d hit(s), %d damage
|
||||||
|
KILLS = Kills
|
||||||
|
DEATHS = Deaths
|
||||||
|
HITS = Hits
|
||||||
|
SHOTS = Schoten
|
||||||
|
YOUR = Your
|
||||||
|
PLAYERS = Players
|
||||||
|
RANK_IS = rank is %d of %d
|
||||||
|
DAMAGE = Schade
|
||||||
|
WEAPON = Wapen
|
||||||
|
YOUR_RANK_IS = Jouw rank is %d van de %d met %d kill(s), %d hit(s), %0.2f% eff. and %0.2f% acc.
|
||||||
|
AMMO = ammo
|
||||||
|
HEALTH = health
|
||||||
|
ARMOR = armor
|
||||||
|
GAME_SCORE = Game score
|
||||||
|
TIME_REM = Tijd over
|
||||||
|
NO_T_LIMIT = Geen Tijd Limit
|
||||||
|
THE_TIME = De tijd
|
||||||
|
PLAYED_MAP = Gespeelde map
|
||||||
|
FRIEND_FIRE = Friendly fire
|
||||||
|
STATS_ANNOUNCE = Je hebt %s stats aankondigingen
|
||||||
|
ENABLED = ingeschakeld
|
||||||
|
DISABLED = uitgeschakeld
|
||||||
|
SERVER_STATS = Server Status
|
||||||
|
X_RANK_IS = %s's rank is %d van de %d
|
||||||
|
DISABLED_MSG = De server heeft die optie uitgeschakeld
|
@ -54,3 +54,10 @@ ADMIN_TELEPORT_2 = ADMIN %s: teleportowal %s
|
|||||||
TELE_MENU = Menu teleportu
|
TELE_MENU = Menu teleportu
|
||||||
CUR_LOC = Aktualna pozycja
|
CUR_LOC = Aktualna pozycja
|
||||||
SAVE_LOC = Zapisz pozycje
|
SAVE_LOC = Zapisz pozycje
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
ADMIN_TELEPORT_1 = ADMIN: teleport %s
|
||||||
|
ADMIN_TELEPORT_2 = ADMIN %s: teleport %s
|
||||||
|
TELE_MENU = Teleport Menu
|
||||||
|
CUR_LOC = Huidige Locatie
|
||||||
|
SAVE_LOC = Bewaar Locatie
|
@ -70,3 +70,12 @@ MINUTE = minuta
|
|||||||
MINUTES = minut
|
MINUTES = minut
|
||||||
SECOND = sekunda
|
SECOND = sekunda
|
||||||
SECONDS = sekund
|
SECONDS = sekund
|
||||||
|
|
||||||
|
[nl]
|
||||||
|
THE_TIME = De tijd
|
||||||
|
TIME_LEFT = Tijd Over
|
||||||
|
NO_T_LIMIT = Geen Tijd Limiet
|
||||||
|
MINUTE = minuut
|
||||||
|
MINUTES = minuten
|
||||||
|
SECOND = seconde
|
||||||
|
SECONDS = seconden
|
@ -82,8 +82,12 @@ public actionResult(id,key) {
|
|||||||
remove_task( 4545454 )
|
remove_task( 4545454 )
|
||||||
switch (key){
|
switch (key){
|
||||||
case 0: {
|
case 0: {
|
||||||
|
new _modName[10]
|
||||||
|
get_modname(_modName,9)
|
||||||
|
if (!equal(_modName,"zp")) {
|
||||||
message_begin(MSG_ALL, SVC_INTERMISSION)
|
message_begin(MSG_ALL, SVC_INTERMISSION)
|
||||||
message_end()
|
message_end()
|
||||||
|
}
|
||||||
set_task(2.0,"delayedChange",0, g_mapName[ g_choosed ] , strlen(g_mapName[ g_choosed ]) + 1 )
|
set_task(2.0,"delayedChange",0, g_mapName[ g_choosed ] , strlen(g_mapName[ g_choosed ]) + 1 )
|
||||||
log_amx("Vote: %L" , "en", "RESULT_ACC")
|
log_amx("Vote: %L" , "en", "RESULT_ACC")
|
||||||
client_print(0,print_chat, "%L", LANG_PLAYER, "RESULT_ACC")
|
client_print(0,print_chat, "%L", LANG_PLAYER, "RESULT_ACC")
|
||||||
@ -118,8 +122,12 @@ public checkVotes( id ) {
|
|||||||
set_task(10.0,"autoRefuse",4545454)
|
set_task(10.0,"autoRefuse",4545454)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
new _modName[10]
|
||||||
|
get_modname(_modName,9)
|
||||||
|
if (!equal(_modName,"zp")) {
|
||||||
message_begin(MSG_ALL, SVC_INTERMISSION)
|
message_begin(MSG_ALL, SVC_INTERMISSION)
|
||||||
message_end()
|
message_end()
|
||||||
|
}
|
||||||
set_task(2.0,"delayedChange",0, g_mapName[ g_choosed ] , strlen(g_mapName[ g_choosed ]) + 1 )
|
set_task(2.0,"delayedChange",0, g_mapName[ g_choosed ] , strlen(g_mapName[ g_choosed ]) + 1 )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -352,9 +360,12 @@ public actionMapsMenu(id,key) {
|
|||||||
{
|
{
|
||||||
new a = g_menuPosition[id] * 8 + key
|
new a = g_menuPosition[id] * 8 + key
|
||||||
|
|
||||||
|
new _modName[10]
|
||||||
|
get_modname(_modName,9)
|
||||||
|
if (!equal(_modName,"zp")) {
|
||||||
message_begin(MSG_ALL, SVC_INTERMISSION)
|
message_begin(MSG_ALL, SVC_INTERMISSION)
|
||||||
message_end()
|
message_end()
|
||||||
|
}
|
||||||
new authid[32],name[32]
|
new authid[32],name[32]
|
||||||
get_user_authid(id,authid,31)
|
get_user_authid(id,authid,31)
|
||||||
get_user_name(id,name,31)
|
get_user_name(id,name,31)
|
||||||
|
@ -142,7 +142,7 @@ new g_DoubleKillSound[3][] = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public plugin_init() {
|
public plugin_init() {
|
||||||
register_plugin("TFC Stats","0.20tfc","SidLuke")
|
register_plugin("TFC Stats",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
register_event("30","eInterMission","a")
|
register_event("30","eInterMission","a")
|
||||||
register_event("ResetHUD","eResetHud","b")
|
register_event("ResetHUD","eResetHud","b")
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ new g_pingSum[33]
|
|||||||
new g_pingCount[33]
|
new g_pingCount[33]
|
||||||
|
|
||||||
public plugin_init()
|
public plugin_init()
|
||||||
register_plugin("TFC Stats Logging","0.20tfc","AMXX Dev Team")
|
register_plugin("TFC Stats Logging",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
|
|
||||||
public client_disconnect(id) {
|
public client_disconnect(id) {
|
||||||
if ( is_user_bot( id ) ) return PLUGIN_CONTINUE
|
if ( is_user_bot( id ) ) return PLUGIN_CONTINUE
|
||||||
|
@ -25,5 +25,5 @@ public plugin_precache(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
public plugin_init() {
|
public plugin_init() {
|
||||||
register_plugin("TFC Sounds Precache","0.20tfc","SidLuke")
|
register_plugin("TFC Sounds Precache",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
}
|
}
|
@ -87,7 +87,7 @@ public plugin_precache(){
|
|||||||
new g_disabledMsg[] = "Server has disabled that option"
|
new g_disabledMsg[] = "Server has disabled that option"
|
||||||
|
|
||||||
public plugin_init() {
|
public plugin_init() {
|
||||||
register_plugin("TS Stats","0.20ts","SidLuke")
|
register_plugin("TS Stats",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
register_event("30","eInterMission","a")
|
register_event("30","eInterMission","a")
|
||||||
register_event("ResetHUD","eResetHud","b")
|
register_event("ResetHUD","eResetHud","b")
|
||||||
register_clcmd("say /hp","cmdKiller",0,"- displays info. about your killer")
|
register_clcmd("say /hp","cmdKiller",0,"- displays info. about your killer")
|
||||||
|
@ -13,7 +13,7 @@ new g_pingSum[33]
|
|||||||
new g_pingCount[33]
|
new g_pingCount[33]
|
||||||
|
|
||||||
public plugin_init()
|
public plugin_init()
|
||||||
register_plugin("Stats Logging","0.20ts","SidLuke")
|
register_plugin("Stats Logging",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
|
|
||||||
public client_disconnect(id) {
|
public client_disconnect(id) {
|
||||||
if ( is_user_bot( id ) ) return PLUGIN_CONTINUE
|
if ( is_user_bot( id ) ) return PLUGIN_CONTINUE
|
||||||
|
@ -25,5 +25,5 @@ public plugin_precache(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
public plugin_init() {
|
public plugin_init() {
|
||||||
register_plugin("TFC Sounds Precache","0.20ts","SidLuke")
|
register_plugin("TFC Sounds Precache",AMXX_VERSION_STR,"AMXX Dev Team")
|
||||||
}
|
}
|
Reference in New Issue
Block a user