Taxi Fare
#4

I have this

PHP код:
//Taxi variables
#define TAXI 17
new bool:TaxiDuty[MAX_PLAYERS char],
    
TaxiFare[MAX_PLAYERS char],
    
bool:TaxiStart[MAX_PLAYERS char],
    
TaxiMoney[MAX_PLAYERS],
    
OldVehicle[MAX_PLAYERS],
    
TaxiMade[MAX_PLAYERS];
//Taxi variables 
This under OnPlayerConnect
PHP код:
    TaxiDuty[playerid] = falseTaxiFare[playerid] = 0TaxiStart[playerid] = falseTaxiMoney[playerid] = 0TaxiMade[playerid] = 0
This under OnPlayerStateChange
PHP код:
        if(TaxiMoney[playerid] > && IsATaxi(oldvehicle))
        {
            
ChargePerson(playerid);
        } 
Reply


Messages In This Thread
Taxi Fare - by FaZeRs - 07.03.2014, 13:44
Re: Taxi Fare - by FaZeRs - 07.03.2014, 19:01
Re: Taxi Fare - by Anzipane - 07.03.2014, 20:27
Re: Taxi Fare - by FaZeRs - 07.03.2014, 20:45
Re: Taxi Fare - by FaZeRs - 08.03.2014, 20:58
Re: Taxi Fare - by FaZeRs - 09.03.2014, 15:00
Re: Taxi Fare - by Abagail - 09.03.2014, 15:06
Re: Taxi Fare - by FaZeRs - 09.03.2014, 15:12

Forum Jump:


Users browsing this thread: 4 Guest(s)