@AntiBots
Style 1 isn't required. The style is just a preference:
Code:
// include file
native Float:get_float(index);
// plugin with style 1
public plugin_natives()
{
register_native("get_float", "_get_float", 1);
}
public Float:_get_float(index)
{
// code
}
// plugin with style 0
public plugin_natives()
{
register_native("get_float", "_get_float");
}
public Float:_get_float(plugin, params)
{
new index = get_param(1);
// code
}
I prefer style 0.
__________________