[AJUDA] Local PANW
#4

Quote:
Originally Posted by marcelodell
Посмотреть сообщение
Caroline, nгo seria em OnPlayerConnect?
Errado seria OnGameMode como Caroline disse acima, ai vocк teria que colocar em OnPlayerConnect, o seguite:

pawn Код:
TextDrawShowForPlayer(playerid, Intro[0]);
TextDrawShowForPlayer(playerid, Intro[1]);
TextDrawShowForPlayer(playerid, Intro[2]);
TextDrawShowForPlayer(playerid, Intro[3]);
TextDrawShowForPlayer(playerid, Intro[4]);
TextDrawShowForPlayer(playerid, Intro[5]);
TextDrawShowForPlayer(playerid, Intro[6]);
TextDrawShowForPlayer(playerid, Intro[7]);
TextDrawShowForPlayer(playerid, Intro[8]);
TextDrawShowForPlayer(playerid, Intro[9]);
TextDrawShowForPlayer(playerid, Intro[10]);
TextDrawShowForPlayer(playerid, Intro[11]);
Ai vocк terб que colocar na dialog de 'login' quando ele acerta-se a senha:
pawn Код:
TextDrawHideForPlayer(playerid, Intro[0]);
TextDrawHideForPlayer(playerid, Intro[1]);
TextDrawHideForPlayer(playerid, Intro[2]);
TextDrawHideForPlayer(playerid, Intro[3]);
TextDrawHideForPlayer(playerid, Intro[4]);
TextDrawHideForPlayer(playerid, Intro[5]);
TextDrawHideForPlayer(playerid, Intro[6]);
TextDrawHideForPlayer(playerid, Intro[7]);
TextDrawHideForPlayer(playerid, Intro[8]);
TextDrawHideForPlayer(playerid, Intro[9]);
TextDrawHideForPlayer(playerid, Intro[10]);
TextDrawHideForPlayer(playerid, Intro[11]);
Ou entгo recomendo a criar um SetTimer ;*

//OnPlayerConnect
pawn Код:
//OnPlayerConnect
SetTimerEx("TextoEntrada", 5000, false, "i", playerid);
//Explicaзгo: depois de 5 segundo que ele logar os textos sumirгo,
//caso queira alterar para mais tempo altere o nъmero '5000'
//para o valor desejado lembrando
//5000 = 5 segundos

//Final do GameMode
forward TextoEntrada(playerid)
public TextoEntrada(playerid)
{
    TextDrawHideForPlayer(playerid, Intro[0]);
    TextDrawHideForPlayer(playerid, Intro[1]);
    TextDrawHideForPlayer(playerid, Intro[2]);
    TextDrawHideForPlayer(playerid, Intro[3]);
    TextDrawHideForPlayer(playerid, Intro[4]);
    TextDrawHideForPlayer(playerid, Intro[5]);
    TextDrawHideForPlayer(playerid, Intro[6]);
    TextDrawHideForPlayer(playerid, Intro[7]);
    TextDrawHideForPlayer(playerid, Intro[8]);
    TextDrawHideForPlayer(playerid, Intro[9]);
    TextDrawHideForPlayer(playerid, Intro[10]);
    TextDrawHideForPlayer(playerid, Intro[11]);
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Local PANW - by RNT - 04.01.2012, 04:40
Re: [AJUDA] Local PANW - by [O.z]Caroline - 04.01.2012, 05:43
Re: [AJUDA] Local PANW - by marcelodell - 04.01.2012, 10:19
Re: [AJUDA] Local PANW - by WeenSoares_ - 04.01.2012, 10:57
Re: [AJUDA] Local PANW - by RNT - 04.01.2012, 13:56
Re: [AJUDA] Local PANW - by Lуs - 04.01.2012, 13:59
Re: [AJUDA] Local PANW - by RNT - 04.01.2012, 15:12
Re: [AJUDA] Local PANW - by WeenSoares_ - 04.01.2012, 15:16
Re: [AJUDA] Local PANW - by RNT - 04.01.2012, 15:17
Re: [AJUDA] Local PANW - by WeenSoares_ - 04.01.2012, 15:20

Forum Jump:


Users browsing this thread: 1 Guest(s)