mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
13 lines
335 B
C++
13 lines
335 B
C++
|
#include "fakemeta_amxx.h"
|
||
|
|
||
|
static cell AMX_NATIVE_CALL copy_infokey_buffer(AMX *amx, cell *params)
|
||
|
{
|
||
|
char *infobuffer = reinterpret_cast<char *>(params[1]);
|
||
|
|
||
|
return MF_SetAmxString(amx, params[2], infobuffer, params[3]);
|
||
|
}
|
||
|
|
||
|
AMX_NATIVE_INFO misc_natives[] = {
|
||
|
{ "copy_infokey_buffer", copy_infokey_buffer },
|
||
|
{NULL, NULL},
|
||
|
};
|