06.08.2016, 11:24
Replace the 'comments' with the textdraw hide and show codes respectively.
PHP код:
public OnPlayerConnect(playerid)
{
// show the textdraw
TogglePlayerSpectating(playerid, true);
PlayerSpectatePlayer(playerid, playerid);
SetTimerEx("show", 6000, false, "i", playerid);
return 1;
}
forward show(playerid);
public show(playerid)
{
// hide the textdraw
TogglePlayerSpectating(playerid, false);
return 1;
}