19.02.2015, 04:27
In that case don't include fixes.inc, paste this code above #include <YSI\y_ini> line
Like This -
pawn Code:
stock fvalstr(dest[], value, bool:pack = false)
{
//credits to slice
// "format" can't handle cellmin properly.
static const
sc_szCellmin[] = !"-2147483648";
if (value == cellmin)
{
pack && strpack(dest, sc_szCellmin, 12) || strunpack(dest, sc_szCellmin, 12);
}
else
{
format(dest, 12, "%d", value),
pack && strpack(dest, dest, 12);
}
return 0;
}
#if defined _ALS_valstr
#undef valstr
#else
#define _ALS_valstr
#endif
#define valstr fvalstr
pawn Code:
#include <a_samp>//first this
stock fvalstr(dest[], value, bool:pack = false)
{
//credits to slice
// "format" can't handle cellmin properly.
static const
sc_szCellmin[] = !"-2147483648";
if (value == cellmin)
{
pack && strpack(dest, sc_szCellmin, 12) || strunpack(dest, sc_szCellmin, 12);
}
else
{
format(dest, 12, "%d", value),
pack && strpack(dest, dest, 12);
}
return 0;
}
#if defined _ALS_valstr
#undef valstr
#else
#define _ALS_valstr
#endif
#define valstr fvalstr
#include <YSI\y_ini>//Then This
//other includes here