12.08.2012, 01:08
you forgot to add the "CallLocalFunction":
pawn Код:
public OnPlayerConnect(playerid)
{
PlayerPauseInfo[playerid][Paused] = false;
PlayerPauseInfo[playerid][Timer] = SetTimerEx("CheckPausedPlayer", 500, 1, "i",playerid);
return CallLocalFunction("Pause_OnPlayerConnect","i",playerid);//here
}
#if defined _ALS_OnPlayerConnect
#undef OnPlayerConnect
#else
#define _ALS_OnPlayerConnect
#endif
#define OnPlayerConnect Pause_OnPlayerConnect
forward Pause_OnPlayerConnect(playerid);