[Ajuda] Relogio
#1

Olб alguem poderia me ajudar a salvar isso exemplo do salvamento que to falando: tipo eu to com 50:00 ai eu vo sair do servidor quando eu voltar esteje com o tempo que ele largo antes !

PHP код:
 forward RelogioUPs(playerid);
public 
RelogioUPs(playerid)
{
    
minutos2[playerid]++;
    
TempoPayday[playerid]--;
    new 
string[50];
    if(
minutos2[playerid] >= 59)
     {
         
minutos2[playerid] = 0;
          
countando ++;
           
TempoPayday[playerid] = 59;
    }
    switch(
countando)
    {
        case 
1format(string50,"Payday: 59:%d"TempoPayday[playerid]);
         case 
2format(string50,"Payday: 58:%d"TempoPayday[playerid]);
          case 
3format(string50,"Payday: 57:%d"TempoPayday[playerid]);
           case 
4format(string50,"Payday: 56:%d"TempoPayday[playerid]);
         case 
5format(string50,"Payday: 55:%d"TempoPayday[playerid]);
          case 
6format(string50,"Payday: 54:%d"TempoPayday[playerid]);
           case 
7format(string50,"Payday: 53:%d"TempoPayday[playerid]);
        case 
8format(string50,"Payday: 52:%d"TempoPayday[playerid]);
        case 
9format(string50,"Payday: 51:%d"TempoPayday[playerid]);
        case 
10format(string50,"Payday: 50:%d"TempoPayday[playerid]);
        case 
11format(string50,"Payday: 49:%d"TempoPayday[playerid]);
        case 
12format(string50,"Payday: 48:%d"TempoPayday[playerid]);
        case 
13format(string50,"Payday: 47:%d"TempoPayday[playerid]);
        case 
14format(string50,"Payday: 46:%d"TempoPayday[playerid]);
        case 
15format(string50,"Payday: 45:%d"TempoPayday[playerid]);
        case 
16format(string50,"Payday: 44:%d"TempoPayday[playerid]);
        case 
17format(string50,"Payday: 43:%d"TempoPayday[playerid]);
        case 
18format(string50,"Payday: 42:%d"TempoPayday[playerid]);
        case 
19format(string50,"Payday: 41:%d"TempoPayday[playerid]);
        case 
20format(string50,"Payday: 40:%d"TempoPayday[playerid]);
           case 
21format(string50,"Payday: 39:%d"TempoPayday[playerid]);
        case 
22format(string50,"Payday: 38:%d"TempoPayday[playerid]);
        case 
23format(string50,"Payday: 37:%d"TempoPayday[playerid]);
        case 
24format(string50,"Payday: 36:%d"TempoPayday[playerid]);
        case 
25format(string50,"Payday: 35:%d"TempoPayday[playerid]);
        case 
26format(string50,"Payday: 34:%d"TempoPayday[playerid]);
        case 
27format(string50,"Payday: 33:%d"TempoPayday[playerid]);
        case 
28format(string50,"Payday: 32:%d"TempoPayday[playerid]);
        case 
29format(string50,"Payday: 31:%d"TempoPayday[playerid]);
        case 
30format(string50,"Payday: 30:%d"TempoPayday[playerid]);
        case 
31format(string50,"Payday: 29:%d"TempoPayday[playerid]);
        case 
32format(string50,"Payday: 28:%d"TempoPayday[playerid]);
        case 
33format(string50,"Payday: 27:%d"TempoPayday[playerid]);
        case 
34format(string50,"Payday: 26:%d"TempoPayday[playerid]);
        case 
35format(string50,"Payday: 25:%d"TempoPayday[playerid]);
           case 
36format(string50,"Payday: 24:%d"TempoPayday[playerid]);
        case 
37format(string50,"Payday: 23:%d"TempoPayday[playerid]);
        case 
38format(string50,"Payday: 22:%d"TempoPayday[playerid]);
        case 
39format(string50,"Payday: 21:%d"TempoPayday[playerid]);
        case 
40format(string50,"Payday: 20:%d"TempoPayday[playerid]);
        case 
41format(string50,"Payday: 19:%d"TempoPayday[playerid]);
        case 
42format(string50,"Payday: 18:%d"TempoPayday[playerid]);
        case 
43format(string50,"Payday: 17:%d"TempoPayday[playerid]);
        case 
44format(string50,"Payday: 16:%d"TempoPayday[playerid]);
        case 
45format(string50,"Payday: 15:%d"TempoPayday[playerid]);
        case 
46format(string50,"Payday: 14:%d"TempoPayday[playerid]);
        case 
47format(string50,"Payday: 13:%d"TempoPayday[playerid]);
        case 
48format(string50,"Payday: 12:%d"TempoPayday[playerid]);
        case 
49format(string50,"Payday: 11:%d"TempoPayday[playerid]);
        case 
50format(string50,"Payday: 10:%d"TempoPayday[playerid]);
        case 
51format(string50,"Payday: 9:%d"TempoPayday[playerid]);
           case 
52format(string50,"Payday: 8:%d"TempoPayday[playerid]);
        case 
53format(string50,"Payday: 7:%d"TempoPayday[playerid]);
        case 
54format(string50,"Payday: 6:%d"TempoPayday[playerid]);
        case 
55format(string50,"Payday: 5:%d"TempoPayday[playerid]);
           case 
56format(string50,"Payday: 4:%d"TempoPayday[playerid]);
        case 
57format(string50,"Payday: 3:%d"TempoPayday[playerid]);
        case 
58format(string50,"Payday: 2:%d"TempoPayday[playerid]);
        case 
59format(string50,"Payday: 1:%d"TempoPayday[playerid]);
       }
    
TextDrawSetString(ReloginhoUP,string);
    
TextDrawShowForAll(ReloginhoUP);
    if(
countando == 59)
    {
           
countando 1;
        @
PayDay();
    }
    return 
1;

Reply


Messages In This Thread
Relogio - by didimk157 - 27.05.2017, 03:59
Re: Relogio - by DaRoma - 27.05.2017, 20:34
Re: Relogio - by IlanZ - 27.05.2017, 20:55
Re: Relogio - by Showzs - 27.05.2017, 21:19
Re: Relogio - by DelK - 27.05.2017, 23:34
Re: Relogio - by didimk157 - 28.05.2017, 01:28
Re: Relogio - by Showzs - 28.05.2017, 23:10

Forum Jump:


Users browsing this thread: 1 Guest(s)