[Ajuda] TV - Spect Player
#1

Intao Como Pode Ver
format(STR, sizeof(STR), "~b~Nome~w~ : ~y~%s", TvNome);
PlayerTextDrawSetString(playerid, TV_SPEC[1][playerid], STR);
Eu Coloquei Para Endicar o nome da Pessoa quando da /tv Mais Desaparece A Text Oque EU Posso Fazer Para Nao Desaparecer ,
PHP код:
CMD:tv(playerid,params[])
{
        if(!
TV[playerid])
        {
        new 
idstring[124], TvNome[24], STR[12];
        {
        if(
sscanf(params,"d",id)) return SendClientMessage(playerid,-1,"Uso: /tv [ID]");
        
GetPlayerName(idTvNome24);
        }
///////////////////////////////////////////////////////////////////////////////////////////
        
format(STRsizeof(STR), "~b~Nome~w~ : ~y~%s"TvNome);
        
PlayerTextDrawSetString(playeridTV_SPEC[1][playerid], STR);
///////////////////////////////////////////////////////////////////////////////////////////
        
GameTextForPlayer(playerid"~w~                TV~n~~r~                On"50006);
        
PlayerPlaySound(playerid11450.00.00.0);
         
TogglePlayerSpectating(playerid1);
        
PlayerSpectatePlayer(playeridid);
           
format(stringsizeof(string), "Vocк Esta De TV Em {00BFFF}(%s)"TvNome);
        
SendClientMessage(playerid, -1string);
        
PlayerTextDrawShow(playeridTV_SPEC[0][playerid]);
        
PlayerTextDrawShow(playeridTV_SPEC[1][playerid]);
        
PlayerTextDrawShow(playeridTV_SPEC[2][playerid]);
        
PlayerTextDrawShow(playeridTV_SPEC[3][playerid]);
        
PlayerTextDrawShow(playeridTV_SPEC[4][playerid]);
        
TV[playerid] = true;
        }
             else
         {
        
TogglePlayerSpectating(playerid0);
        
GameTextForPlayer(playerid"~w~                TV~n~~r~                Off"50006);
        
PlayerPlaySound(playerid11450.00.00.0);
        
PlayerTextDrawHide(playeridTV_SPEC[0][playerid]);
        
PlayerTextDrawHide(playeridTV_SPEC[1][playerid]);
        
PlayerTextDrawHide(playeridTV_SPEC[2][playerid]);
        
PlayerTextDrawHide(playeridTV_SPEC[3][playerid]);
        
PlayerTextDrawHide(playeridTV_SPEC[4][playerid]);
        
GameTextForPlayer(playerid,"TV:~r~OFF",2000,6);
        
TV[playerid] = false;
    }
        return 
1;

Reply


Messages In This Thread
TV - Spect Player - by JuniorTheDM - 27.07.2015, 05:51
Re: TV - Spect Player - by JuniorTheDM - 27.07.2015, 15:04
Re: TV - Spect Player - by HaRdiiZin - 27.07.2015, 15:17
Re: TV - Spect Player - by JuniorTheDM - 27.07.2015, 16:27
Re: TV - Spect Player - by Cleyson - 27.07.2015, 16:51
Re: TV - Spect Player - by JuniorTheDM - 27.07.2015, 17:18
Re: TV - Spect Player - by n0minal - 27.07.2015, 17:35
Re: TV - Spect Player - by JuniorTheDM - 27.07.2015, 17:48
Re: TV - Spect Player - by n0minal - 27.07.2015, 17:50
Re: TV - Spect Player - by JuniorTheDM - 27.07.2015, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)