[Ajuda] Flood
#7

PHP код:
public Taxi() 

    foreach(new 
Player
    { 
        if(
Taximetro[i][1] == 0)
            continue;
        
        if(
GetPlayerGrana(i) > PrecoCorrida[i] + 3
        { 
            new 
string[128]; 
            
PrecoCorrida[i] = PrecoCorrida[i] + 3
            
format(stringsizeof(string), " | TAXI | O taxнmetro mostra: $%d"PrecoCorrida[i]); 
            
SendClientMessage(i0xFFFF00AAstring); 
            
SendClientMessage(Taximetro[i][1], 0xD9D900AAstring); 
        } 
        else if(
GetPlayerGrana(i) < PrecoCorrida[i] + 3
        { 
            
PrecoCorrida[i] = 0
            
Taximetro[i][1] = 0
            
RemovePlayerFromVehicle(i);
            
SendClientMessage(iVermelho" | INFO | Vocк nгo tem mais dinheiro para o taxi, sua viagem acaba aqui."); 
            
SendClientMessage(Taximetro[i][1], Vermelho" | INFO | Seu passageiro ficou sem dinheiro e por isso foi deixado aqui."); 
            
GivePlayerGrana(i, -PrecoCorrida[i]); 
            
GivePlayerGrana(Taximetro[i][1], PrecoCorrida[i]); 
        } 
    } 
    return 
1

Reply


Messages In This Thread
Flood - by ModaLOKO - 09.07.2015, 23:10
Re: Flood - by zSuYaNw - 10.07.2015, 13:14
Re: Flood - by ModaLOKO - 10.07.2015, 18:20
Re: Flood - by zSuYaNw - 10.07.2015, 18:48
Re: Flood - by ModaLOKO - 10.07.2015, 19:18
Re: Flood - by zSuYaNw - 10.07.2015, 19:34
Re: Flood - by PT - 10.07.2015, 19:54
Re: Flood - by zSuYaNw - 11.07.2015, 16:48
Re: Flood - by ModaLOKO - 11.07.2015, 17:08
Re: Flood - by Smith. - 11.07.2015, 17:16

Forum Jump:


Users browsing this thread: 4 Guest(s)