Hello guys, i have someeee questions, i'm realy noob so be patient with me
ok
1 . - amxmodx SDK and HLSDK , Microsoft Visual Studio are the only things i need to write a module ? ( i have also metamod sdk ).
2. For compiling the following code ( i'm trying to make a simple native just for learn ) i don't need metamod sdk no ? i read some tut. but are they very confusing , i learn more when i talk with people so :
PHP Code:
#include "amxxmodule.h"
// Empty an array, like array_set, but that's require just the array: empty_array( Array )
static cell AMX_NATIVE_CALL empty_array(AMX *amx, cell *params)
{
cell *Arr = get_amx_addr(amx, params[1]);
for (int i = 0; i<sizeof(Arr); i++)
{
Arr[i] = 0;
}
}
AMX_NATIVE_INFO EmptyArray_Natives[] =
{
{ "empty_array" ,empty_array };
{ NULL, ,NULL }
};
void OnAmxxAttach(EmptyArray_Natives)
{
MF_AddNatives(EmptyArray_Natives);
}
So ... i'm very confused if somebody can give me some answers
__________________