Bug problem by dying for explosions
#2

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);
/******************************************************************************/ 
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)