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?