Server crashed while executing dsrpnew.amx
#3

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: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
/******************************************************************************/ 
Just to double check, this would go under pawno/includes/fix.inc? if so I've done that and it still crashes upon joining.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)