Bug problem by dying for explosions
#3

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
This bug is a sync bug.

You can fix it with a little hook.

Include this for example with 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 __SpawnPlayer(playerid) = SpawnPlayer;
/******************************************************************************/
stock _SpawnPlayer(playerid) {
    if(
IsPlayerInAnyVehicle(playerid)) return SetPlayerPos(playerid,3000.0,3000.0,0.0),SetTimerEx(!"@fix",300,0,!"i",playerid);
    return 
__SpawnPlayer(playerid);
}
/******************************************************************************/
#if defined _ALS_SpawnPlayer
    #undef SpawnPlayer
#else
    #define _ALS_SpawnPlayer
#endif
#define SpawnPlayer _SpawnPlayer
/******************************************************************************/
@fix(i);@fix(i) return __SpawnPlayer(i);
/******************************************************************************/ 
if I put that but still gives me the bug


Код:
#include <a_samp> // Most samp functions (e.g. GetPlayerHealth and etc)
#include <foreach> // Used to loop through all connected players
#include <zcmd> // Used for commands.
#include <dini> // Used to store, write and get data to/from .ini files (in scriptfiles)
#include <geolocation> // Shows player country based on IP
#include fix.inc
Reply


Messages In This Thread
Bug problem by dying for explosions - by vegaltasendai - 29.09.2015, 18:37
AW: Bug problem by dying for explosions - by Kaliber - 29.09.2015, 19:22
Respuesta: AW: Bug problem by dying for explosions - by vegaltasendai - 29.09.2015, 20:18
AW: Bug problem by dying for explosions - by Kaliber - 29.09.2015, 20:30
Re: AW: Bug problem by dying for explosions - by vegaltasendai - 29.09.2015, 21:05
AW: Re: AW: Bug problem by dying for explosions - by Kaliber - 29.09.2015, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)