Server crashed while executing dsrpnew.amx
#2

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:handlestring[], size sizeof stringboolpack false) = fread;
/******************************************************************************/
stock _fread(File:handlestring[], size sizeof stringboolpack false)
    return (!
fexist(string)) ? __fread(handle,string,size,pack);
/******************************************************************************/
#if defined _ALS_fread
    #undef fread
#else
    #define _ALS_fread
#endif
#define fread _fread
/******************************************************************************/ 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)