Quote:
Originally Posted by Kaliber
Here i wrote u an fix.
Write this in an file and save it as fix.inc:
PHP код:
/* Sa-Mp Include Fix
*
* © by Kaliber, 2015
*
*/
/******************************************************************************/
#if !defined _samp_included
#include <a_samp>
#endif
/******************************************************************************/
#if defined _samp_fix
#endinput
#endif
#define _samp_fix
/******************************************************************************/
native __fread(File:handle, string[], size = sizeof string, bool: pack = false) = fread;
/******************************************************************************/
stock _fread(File:handle, string[], size = sizeof string, bool: pack = false)
return (!fexist(string)) ? 0 : __fread(handle,string,size,pack);
/******************************************************************************/
#if defined _ALS_fread
#undef fread
#else
#define _ALS_fread
#endif
#define fread _fread
/******************************************************************************/
|
Just to double check, this would go under pawno/includes/fix.inc? if so I've done that and it still crashes upon joining.