Help a bit here +rep
#10

Quote:
Originally Posted by Andi_Evandy
Посмотреть сообщение
pawn Код:
else if(newstate == PLAYER_STATE_DRIVER)
    {
       if ( IsATaxicar( GetVehicleModel( GetPlayerVehicleID( playerid ) ) ) ) //if Vehicle model that player enter is taxi
        {
            if( PlayerInfo[ playerid ][ pJob ] != 2 ) //if Player job is not "2" or "taxi driver (maybe)"
            {
                RemovePlayerFromVehicle(playerid);
                SendClientMessage(playerid, COLOR_GREY,"You don't have keys of this car.");
            }
        }
    }
I add this but still when you are not taxi driver i can drive the taxi whats can be the problem?
Reply


Messages In This Thread
Help a bit here +rep - by N0FeaR - 10.03.2012, 22:27
Re: Help a bit here +rep - by Basicz - 10.03.2012, 22:34
Re: Help a bit here +rep - by N0FeaR - 10.03.2012, 22:44
Re: Help a bit here +rep - by Baboon - 10.03.2012, 22:52
Re: Help a bit here +rep - by N0FeaR - 10.03.2012, 22:54
Re: Help a bit here +rep - by Basicz - 10.03.2012, 22:54
Re: Help a bit here +rep - by N0FeaR - 10.03.2012, 23:09
Re: Help a bit here +rep - by eesh - 11.03.2012, 04:54
Re: Help a bit here +rep - by Andi_Evandy - 11.03.2012, 06:36
Re: Help a bit here +rep - by N0FeaR - 11.03.2012, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)