[Pedido] Tempo em Milisegundos
#10

pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    if(checkpointid == GarbageCheckpoint)
    {
        ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0,0,0,0,0,0);
        PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
        TogglePlayerDynamicCP(playerid, GarbageCheckpoint, 0);
        SendClientMessage(playerid, -1, "Depositaste o saco do lixo nos contentores.");
        PlayerInfo[playerid][CollectingGarbage] = 0;
        PlayerInfo[playerid][AbleToCollectGarbage] = 0;
        SetTimer("esperar60segundos", 60000, false);
        if(IsPlayerAttachedObjectSlotUsed(playerid, INDEX_GARBAGE))
        {
           RemovePlayerAttachedObject(playerid, INDEX_GARBAGE);
        }
    }
    return 1;
}
pawn Код:
public esperar60segundos(playerid)
{
    PlayerInfo[playerid][AbleToCollectGarbage] = 1;
    SendClientMessage(playerid, -1, "Ja podes apanhar novamente um saco de lixo.");
    return 1;
}
Reply


Messages In This Thread
Tempo em Milisegundos - by noobre - 06.07.2012, 11:34
AW: Tempo em Milisegundos - by MatheusAlcapone - 06.07.2012, 11:39
Re: Tempo em Milisegundos - by noobre - 06.07.2012, 11:40
AW: Tempo em Milisegundos - by MatheusAlcapone - 06.07.2012, 11:41
Re: AW: Tempo em Milisegundos - by noobre - 06.07.2012, 11:44
Re: Tempo em Milisegundos - by ReDKiiL - 06.07.2012, 11:44
AW: Tempo em Milisegundos - by MatheusAlcapone - 06.07.2012, 11:45
Re: Tempo em Milisegundos - by next-studio|TheKiller - 06.07.2012, 11:53
Re: Tempo em Milisegundos - by CorTheZ_OwneeD - 06.07.2012, 11:56
Re: Tempo em Milisegundos - by noobre - 06.07.2012, 11:59

Forum Jump:


Users browsing this thread: 1 Guest(s)