IsPlayerInAnyVehicle(playerid) && GetPlayerVehicleSeat(playerid) == 0
new state = GetPlayerState(playerid);if(state == PLAYER_STATE_DRIVER ... )