[Ajuda] Tutorial
#6

Quote:
Originally Posted by LucasDias
Посмотреть сообщение
Ali onde ta a mensagem, como eu poderia colocar um timer? ex:
if(time = 10)
{
SendClientMessage(playerid, -1 "EAEEEE CARINHA NOVATO! TUDO BLZ?!");
}

como poderia fazer tipo um timer para ir passando as mensagens ali dentro?

pawn Код:
forward Parte2(playerid);
public Parte2(playerid)
{
    SetPVarInt(playerid, "Parte2", 15);
    return 1;
}

SetPVarInt(playerid,"Registrado", 14);

//OnPlayerSpawn
if(GetPVarInt(playerid,"Registrado") == 14)
{
    // inicia o tutorial
    SendClientMessage(playerid, -1 "EAEEEE CARINHA NOVATO! TUDO BLZ?!");
    SetTimerEx("Parte2", 20000, false, "i", playerid);
}
if(GetPVarInt(playerid, "Parte2") == 15)
{
    SendClientMessage(playerid, -1, "Parte 2 do tutorial");
}

//fim do tutorial
DeletePVar(playerid,"Registrado");
DeletePVar(playerid, "Parte2");
Siga essa lуgica...
Reply


Messages In This Thread
Tutorial - by LucasDias - 18.12.2014, 23:40
Re: Tutorial - by humildadeforever - 18.12.2014, 23:51
Re: Tutorial - by LucasDias - 18.12.2014, 23:57
Re: Tutorial - by humildadeforever - 19.12.2014, 00:09
Re: Tutorial - by LucasDias - 19.12.2014, 23:29
Re: Tutorial - by Dolpin - 19.12.2014, 23:33

Forum Jump:


Users browsing this thread: 1 Guest(s)