[Ajuda] Flood
#10

PHP код:
public Taxi()
{
    foreach(
Playeri)
    {
        if(
Taximetro[i][0] == 1)
        {
            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);
            }
            if(
GetPlayerGrana(i) < PrecoCorrida[i] + 3)
            {
                
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(iPrecoCorrida[i]);
                
GivePlayerGrana(Taximetro[i][1], PrecoCorrida[i]);
                
RemovePlayerFromVehicle(i);
                
PrecoCorrida[i] = 0;
                
Taximetro[i][0] = 0;
                
Taximetro[i][1] = 0;
            }
        }
    }
    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: 1 Guest(s)