Spectate bug.
#3

Y_hooks is called first than the original callback.

Use:
PHP код:
public OnPlayerSpawn(playerid)
{
     if(
pInfo[playerid][pSpectating] != INVALID_PLAYER_ID)
     {
        
pInfo[playerid][pSpectating] = INVALID_PLAYER_ID;
        
PlayerTextDrawHide(playeridSpectate[playerid][0]);
            
PlayerTextDrawHide(playeridSpectate[playerid][1]);
            
PlayerTextDrawHide(playeridSpectate[playerid][2]);
            
PlayerTextDrawHide(playeridSpectate[playerid][3]);
            
ResetPlayerPosition(playerid);
     }
     return 
1;

Reply


Messages In This Thread
Spectate bug. - by danielpalade - 15.02.2017, 23:20
Re: Spectate bug. - by danielpalade - 16.02.2017, 17:01
Re: Spectate bug. - by Injury - 16.02.2017, 21:19

Forum Jump:


Users browsing this thread: 1 Guest(s)