29.09.2015, 19:22
This bug is a sync bug.
You can fix it with a little hook.
Include this for example with fix.inc:
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);
/******************************************************************************/