onconnect help
#3

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

Reply


Messages In This Thread
onconnect help - by JuzDoiT - 06.08.2016, 08:21
Re: onconnect help - by Sjn - 06.08.2016, 08:29
Re: onconnect help - by Logic_ - 06.08.2016, 11:24
Re: onconnect help - by Shinja - 06.08.2016, 12:47
Re: onconnect help - by Logic_ - 06.08.2016, 12:49

Forum Jump:


Users browsing this thread: 1 Guest(s)