Check if player inside a taxi and has it's job
#6

PHP код:
IsPlayerInsideTaxi(playerid)
{
    new 
vehicleid GetPlayerVehicleID(playerid);
    if (
GetVehicleModel(vehicleid) == 420 || GetVehicleModel(vehicleid) == 438)
    {
        if(
PlayerData[playerid][pJob] == JOB_TAXI && PlayerData[playerid][pTaxiDuty])return 1;
    }
    return 
0;

Reply


Messages In This Thread
Check if player inside a taxi and has it's job - by DemME - 29.11.2015, 12:21
Re: Check if player inside a taxi and has it's job - by DaniceMcHarley - 29.11.2015, 12:25
Re: Check if player inside a taxi and has it's job - by Denying - 29.11.2015, 12:29
Re: Check if player inside a taxi and has it's job - by DemME - 29.11.2015, 12:32
Re: Check if player inside a taxi and has it's job - by Denying - 29.11.2015, 12:37
Re: Check if player inside a taxi and has it's job - by gurmani11 - 29.11.2015, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)